|
static WallClock::Value | FromMonotonicClock (const MonotonicClock::Value &mono_clock) |
|
static Duration | FromMsec (int64_t msec) |
| Converts msec value into Duration.
|
|
static Duration | FromSec (int64_t sec) |
| Converts sec value into Duration.
|
|
static WallClock::Value | FromTimestampInMsec (int64_t timestamp_in_msec) |
|
static WallClock::Value | FromTimestampInSec (int64_t timestamp_in_second) |
|
static WallClock::Value | FromTimestampInUsec (int64_t timestamp_in_usec) |
|
static bool | FromTimestring (const string ×tring, WallClock::Value *value) |
|
static Duration | FromUsec (int64_t usec) |
| Converts usec value into Duration.
|
|
static string | GetLocalTimestring () |
|
static string | GetLocalTimestring (const WallClock::Value &value) |
|
static WallClock::Value | GetProcessStartTime () |
|
static WallClock::Duration | GetProcessUptime () |
|
static int64_t | GetTimestampInMsec () |
|
static int64_t | GetTimestampInMsec (const WallClock::Value &value) |
|
static int64_t | GetTimestampInSec () |
|
static int64_t | GetTimestampInSec (const WallClock::Value &value) |
|
static int64_t | GetTimestampInUsec () |
|
static int64_t | GetTimestampInUsec (const WallClock::Value &value) |
|
static string | GetTimestring () |
|
static string | GetTimestring (const WallClock::Value &value) |
|
static bool | Install (const ArgumentMap &arguments) |
|
static WallClock::Value | Now () |
|
static MonotonicClock::Value | ToMonotonicClock (const WallClock::Value &wall_clock) |
|
static bool | Uninstall () |
|
static const ArgumentMap * | FindArgument (const string &component_name) |
|
WallClock is provided for MonotonicClock is not very human-readable. WallClock is synchronized with the system time(wall clock time) during bootstrapping and increases monotonically. Hence, there can be time drift between WallClock and system time. It provides microsecond granularity.