ADTF
|
CPU Tick Counter class This class may be used for testing purposes. More...
Public Member Functions | |
cTickCounter () | |
Default constructor. | |
tVoid | Reset () |
Resets start tick count of the counter. More... | |
tUInt64 | GetElapsed () |
Returns the ticks since the last call of GetElapsed or Reset. More... | |
Static Public Member Functions | |
static tUInt64 | GetCurrentTicks () |
Returns the current tick count in the cpu register. More... | |
CPU Tick Counter class This class may be used for testing purposes.
Unfortunatly cpu internal timer registers on current multicore cpus are not reliable in systems with poweremanagement cpu frequency adjustments.
Definition at line 149 of file highrestimer.h.
|
static |
Returns the current tick count in the cpu register.
tUInt64 GetElapsed | ( | ) |
Returns the ticks since the last call of GetElapsed or Reset.
tVoid Reset | ( | ) |
Resets start tick count of the counter.