BloombergLP::bslmt::ChronoUtil::isMatchingClock

isMatchingClock overloads

Synopses

Declared in <bslmt_chronoutil.h>

Return whether steady_clock matches the specified clockType.

template<>
bool
isMatchingClock<steady_clock>(bsls::SystemClockType::Enum clockType);
» more...

Return whether system_clock matches the specified clockType.

template<>
bool
isMatchingClock<system_clock>(bsls::SystemClockType::Enum clockType);
» more...

Return Value

  • true if clockType is e_MONOTONIC, and false otherwise
  • true if clockType is e_REALTIME, and false otherwise

Parameters

NameDescription
clockTypesystem clock type to compare against steady_clock