LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Static Public Member Functions | Static Public Attributes
LogCabin::Core::Time::CSystemClock Struct Reference

Wall clock in nanosecond granularity. More...

#include <Time.h>

List of all members.

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

Detailed Description

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.

Definition at line 64 of file Time.h.


Member Typedef Documentation

typedef std::chrono::nanoseconds LogCabin::Core::Time::CSystemClock::duration

Definition at line 65 of file Time.h.

Definition at line 66 of file Time.h.

Definition at line 67 of file Time.h.

Definition at line 68 of file Time.h.


Member Function Documentation

Definition at line 32 of file Time.cc.


Member Data Documentation

Definition at line 70 of file Time.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines