HighResClock
HighResClock

Helper class used to obtain the current system time from as high-resolution of a clock as possible.

Variables
m_startHighResNanos
uint64 m_startHighResNanos

The nanoseconds since epoch for the high-resolution clock.

m_startSysTimeNanos
uint64 m_startSysTimeNanos

The nanoseconds since epoch for the system clock.

Functions
getCurrentSystemTime
uint64 getCurrentSystemTime() const

Gets the number of nanoseconds since Unix Epoch, using a high-resolution clock.