Quick Links: |
#include <bsls_systemtime.h>
Static Public Member Functions | |
static TimeInterval | now (SystemClockType::Enum clockType) |
static TimeInterval | nowMonotonicClock () |
static TimeInterval | nowRealtimeClock () |
This struct
provides a namespace for system-time-retrieval functions.
static TimeInterval bsls::SystemTime::now | ( | SystemClockType::Enum | clockType | ) | [static] |
Return the TimeInterval
value representing the current system time according to the specified clockType
. The returned value is the time interval between the reference time point defined for the supplied clockType
(see Reference Time Point) and the current time.
static TimeInterval bsls::SystemTime::nowMonotonicClock | ( | ) | [static] |
Return the TimeInterval
value representing the current system time according to the monotonic clock. The returned value is the time interval between the reference time point for the monotonic clock (see Reference Time Point) and the current time.
static TimeInterval bsls::SystemTime::nowRealtimeClock | ( | ) | [static] |
Return the TimeInterval
value representing the current system time according to the real-time clock. The returned value is the time interval between the reference time point for the real-time clock (see Reference Time Point) and the current time.