High-resolution timing and system time.
Gives out timing information in various forms. Use this rather than any platform-dependent perf-counters or rdtsc or whatever.
Clock | High-resolution timing and system time. |
ctor | |
Sleep(milliseconds)[static] | Sleeps the current thread for the given amount of milliseconds. |
Year()[static] | Returns the current year. |
Month()[static] | Returns the current month, [1,12] |
Day()[static] | Returns the current day of month, [1,31] |
Hour()[static] | Returns the current hour of day, [0,23] |
Min()[static] | Returns the current clock minute, [0,59] |
Sec()[static] | Returns the current clock second, [0,59] |
SystemTime()[static] | Returns the current system time counter in milliseconds. |
Time()[static] | Returns the number of milliseconds since application start. |
TickU32()[static] | Returns the low part of the current tick-time (using whatever high-resolution counter available) |
Tick()[static] | Returns the current tick-time (using whatever high-resolution counter available) |
TicksPerSec()[static] | Returns how many ticks make up a second. |
TicksPerMillisecond()[static] | |
TicksInBetween(newTick,oldTick)[static] | Returns the number of ticks occurring between the two wallclock times. |
IsNewer(newTick,oldTick)[static] | Returns true if newTick represents a later wallclock time than oldTick. |
MillisecondsSinceF(oldTick)[static] | |
MillisecondsSinceD(oldTick)[static] | |
SecondsSinceF(oldTick)[static] | |
SecondsSinceD(oldTick)[static] | |
TicksToMillisecondsF(ticks)[static] | |
TicksToMillisecondsD(ticks)[static] | |
TicksToSecondsF(ticks)[static] | |
TicksToSecondsD(ticks)[static] | |
TimespanToMillisecondsF(oldTick,newTick)[static] | |
TimespanToMillisecondsD(oldTick,newTick)[static] | |
TimespanToSecondsF(oldTick,newTick)[static] | |
TimespanToSecondsD(oldTick,newTick)[static] | |
Rdtsc()[static] |