Return the current system time according to the specified clockType.
Synopsis
Declared in <bsls_systemtime.h>
static
TimeInterval
now(SystemClockType::Enum clockType);
Description
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.
Return Value
current system time according to clockType
Parameters
Name |
Description |
clockType |
clock used to measure the current system time |
Created with MrDocs