Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bsls::SystemTime Struct Reference

#include <bsls_systemtime.h>

List of all members.

Static Public Member Functions

static TimeInterval now (SystemClockType::Enum clockType)
static TimeInterval nowMonotonicClock ()
static TimeInterval nowRealtimeClock ()

Detailed Description

This struct provides a namespace for system-time-retrieval functions.

See Component bsls_systemtime


Member Function Documentation

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.


The documentation for this struct was generated from the following file: