#include <WinClock.hh>
Public Member Functions | |
WinClock () | |
virtual double | getResolution () |
Get the clock resolution in nano-seconds. | |
virtual uint64_t | getCurrentTicksValue () |
Get the current ticks value. | |
virtual double | tick2NanoSecond (const uint64_t ticks) |
Convert a number of ticks into a double value representing nanoseconds. | |
virtual | ~WinClock () |
Private Attributes | |
double | resolution |
The WinClock resolution in nano-seconds. |
Definition at line 9 of file WinClock.hh.
WinClock | ( | ) |
~WinClock | ( | ) | [virtual] |
Definition at line 29 of file WinClock.cc.
double getResolution | ( | ) | [virtual] |
Get the clock resolution in nano-seconds.
Implements Clock.
Definition at line 14 of file WinClock.cc.
References WinClock::resolution.
uint64_t getCurrentTicksValue | ( | ) | [virtual] |
Get the current ticks value.
Implements Clock.
Definition at line 19 of file WinClock.cc.
double tick2NanoSecond | ( | const uint64_t | ticks | ) | [virtual] |
Convert a number of ticks into a double value representing nanoseconds.
[in] | ticks | the number of tick to convert |
Implements Clock.
Definition at line 24 of file WinClock.cc.
References WinClock::resolution.
double resolution [private] |
The WinClock resolution in nano-seconds.
Definition at line 36 of file WinClock.hh.
Referenced by WinClock::getResolution(), WinClock::tick2NanoSecond(), and WinClock::WinClock().