Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Diagnostics.Stopwatch Class Reference

Public Member Functions

 Stopwatch ()
 
void Start ()
 
void Stop ()
 
void Reset ()
 
void Restart ()
 

Static Public Member Functions

static Stopwatch StartNew ()
 
static long GetTimestamp ()
 

Static Public Attributes

static readonly long Frequency = QueryPerformanceFrequency()
 
static readonly bool IsHighResolution = true
 

Properties

bool IsRunning [get]
 
TimeSpan Elapsed [get]
 
long ElapsedMilliseconds [get]
 
long ElapsedTicks [get]
 

Private Member Functions

long GetRawElapsedTicks ()
 
long GetElapsedDateTimeTicks ()
 

Static Private Member Functions

static unsafe long QueryPerformanceFrequency ()
 
static unsafe long QueryPerformanceCounter ()
 

Private Attributes

long _elapsed
 
long _startTimeStamp
 
bool _isRunning
 

Static Private Attributes

static readonly double s_tickFrequency = 10000000.0 / (double)Frequency
 

Detailed Description

Definition at line 5 of file Stopwatch.cs.


The documentation for this class was generated from the following file: