CBOE Emulator  1.0
Typedefs | Functions
Clock Namespace Reference

Functions for interacting with the system real-time clock (RTC). More...

Typedefs

typedef uint64_t TimeStamp
 a type for timestamps
 
typedef std::chrono::duration< TimeStamp, std::nano > TimeStampDuration
 a type def for timestamp durations
 

Functions

TimeStamp get_time ()
 Return the time in nanoseconds as a 64-bit unsigned integer (Timestamp). More...
 

Detailed Description

Functions for interacting with the system real-time clock (RTC).

Function Documentation

◆ get_time()

TimeStamp Clock::get_time ( )
inline

Return the time in nanoseconds as a 64-bit unsigned integer (Timestamp).

Returns
the current time according to the system real-time clock (RTC)