absl::Microseconds

Constructs a Duration from an integral number of microseconds.

Synopsis

Declared in <absl/time/time.h>

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

Return Value

A duration of n microseconds.

Parameters

NameDescription
nThe number of microseconds.