LogCabin
|
Wall clock in nanosecond granularity. More...
#include <Time.h>
Public Types | |
typedef std::chrono::nanoseconds | duration |
typedef duration::rep | rep |
typedef duration::period | period |
typedef std::chrono::time_point < CSystemClock, duration > | time_point |
Static Public Member Functions | |
static time_point | now () |
Static Public Attributes | |
static const bool | is_steady |
Wall clock in nanosecond granularity.
Wrapper around clock_gettime(CLOCK_REALTIME). Usually, you'll want to access this through SystemClock.
This is preferred over std::chrono::system_clock for earlier libstdc++ versions, since those use only a microsecond granularity.
typedef std::chrono::nanoseconds LogCabin::Core::Time::CSystemClock::duration |
typedef duration::rep LogCabin::Core::Time::CSystemClock::rep |
typedef duration::period LogCabin::Core::Time::CSystemClock::period |
typedef std::chrono::time_point<CSystemClock, duration> LogCabin::Core::Time::CSystemClock::time_point |
const bool LogCabin::Core::Time::CSystemClock::is_steady [static] |