Honeycomb
0.1
Component-Model Framework
|
System-wide real-time clock. Low-resolution time since Unix Epoch, can possibly go backwards if changed by OS. More...
#include <Clock.h>
Public Types | |
typedef Super::TimePoint | TimePoint |
typedef TimePoint::Duration | Duration |
typedef Duration::Rep | Rep |
typedef Duration::Period | Period |
Static Public Member Functions | |
static TimePoint | now () |
Get current time. More... | |
static time_t | toStdTime (const TimePoint &t) |
Convert to standard C time. More... | |
static TimePoint | fromStdTime (const time_t &t) |
Convert from standard C time. More... | |
Static Public Attributes | |
static const bool | isMonotonic = false |
System-wide real-time clock. Low-resolution time since Unix Epoch, can possibly go backwards if changed by OS.
typedef Duration::Rep honey::SystemClock::Rep |
typedef Super::TimePoint honey::SystemClock::TimePoint |
|
inlinestatic |
Convert from standard C time.
|
inlinestatic |
Get current time.
|
inlinestatic |
Convert to standard C time.
|
static |