folly::chrono::ClockImpl

Implementation of ClockInterface for given std::chrono ClockType.

Synopsis

Declared in <folly/chrono/Clock.h>

template<typename ClockType>
class ClockImpl
    : public Clock<ClockType>

Base Classes

NameDescription
Clock<ClockType>Clock interface.

Type Aliases

NameDescription
TimePoint Time point type of the underlying clock.

Member Functions

NameDescription
ClockImpl [constructor]Constructs the clock implementation.
~ClockImpl [destructor]Destroys the clock implementation.
now Returns the current time from the underlying clock.