folly::chrono::coarse_steady_clock

A coarse-resolution steady clock backed by CLOCK_MONOTONIC_COARSE.

Synopsis

Declared in <folly/Chrono.h>

struct coarse_steady_clock;

Type Aliases

NameDescription
duration The duration type of the clock.
folly_spec The spec tag for this clock.
period The tick period of the clock.
rep The representation type of the clock's duration.
time_point The time point type of the clock.

Static Member Functions

NameDescription
now Return the current time point of the clock.

Static Data Members

NameDescription
is_steady Whether the clock is steady (never adjusted backwards).