Crypto++
8.3
Free C++ class library of cryptographic schemes
|
High resolution timer. More...
Public Member Functions | |
Timer (Unit unit=TimerBase::SECONDS, bool stuckAtZero=false) | |
Construct a Timer. More... | |
TimerWord | GetCurrentTimerValue () |
Retrieve the current timer value. More... | |
TimerWord | TicksPerSecond () |
Retrieve ticks per second. More... | |
![]() | |
TimerBase (Unit unit, bool stuckAtZero) | |
Construct a TimerBase. More... | |
void | StartTimer () |
Start the timer. | |
double | ElapsedTimeAsDouble () |
Retrieve the elapsed time. More... | |
unsigned long | ElapsedTime () |
Retrieve the elapsed time. More... | |
Additional Inherited Members | |
![]() | |
enum | Unit { SECONDS = 0, MILLISECONDS, MICROSECONDS, NANOSECONDS } |
Unit of measure. More... | |
|
inline |
|
virtual |
Retrieve the current timer value.
Implements TimerBase.
Definition at line 90 of file hrtimer.cpp.
|
virtual |
Retrieve ticks per second.
Implements TimerBase.
Definition at line 108 of file hrtimer.cpp.