Go to the source code of this file.
|
struct | TimerState |
| stores all timer state shared between readers and the update thread. More...
|
|
static __declspec |
( |
align(64) |
| ) |
|
|
static |
static u64 CounterDelta |
( |
u64 |
oldCounter, |
|
|
u64 |
newCounter |
|
) |
| |
|
inlinestatic |
- Returns
- difference [ticks], taking rollover into account. (time-critical, so it's not called through ICounter.)
Definition at line 138 of file whrt.cpp.
static ICounter* GetNextBestSafeCounter |
( |
| ) |
|
|
static |
- Returns
- the newly created and unique instance of the next best counter that is deemed safe, or 0 if all have already been created.
Definition at line 68 of file whrt.cpp.
static void InitCounter |
( |
| ) |
|
|
static |
static Status InitUpdateThread |
( |
| ) |
|
|
inlinestatic |
static void ShutdownCounter |
( |
| ) |
|
|
static |
static void ShutdownUpdateThread |
( |
| ) |
|
|
inlinestatic |
static unsigned __stdcall UpdateThread |
( |
void * |
data | ) |
|
|
static |
static void UpdateTimerState |
( |
| ) |
|
|
static |
double whrt_Resolution |
( |
| ) |
|
static Status whrt_Shutdown |
( |
| ) |
|
|
static |
volatile TimerState* volatile ts = &timerStates[0] |
|
static |
volatile TimerState* volatile ts2 = &timerStates[1] |
|
static |
const DWORD UPDATE_INTERVAL_MS = 1000 |
|
static |