absl::Microseconds

Microseconds overloads

Synopses

Declared in <absl/time/time.h>

Constructs a Duration from a floating-point number of microseconds.

template<
    typename T,
    /* implementation-defined */ = 0>
Duration
Microseconds(T n);
» more...

Constructs a Duration from an integral number of microseconds.

template<
    typename T,
    /* implementation-defined */ = 0>
constexpr
Duration
Microseconds(T n);
» more...

Return Value

A duration of n microseconds.

Parameters

NameDescription
nThe number of microseconds.