absl::ToChronoMicroseconds

Converts an absl::Duration to a std::chrono::microseconds value.

Synopsis

Declared in <absl/time/time.h>

std::chrono::microseconds
ToChronoMicroseconds(Duration d);

Return Value

The equivalent std::chrono::microseconds value.

Parameters

NameDescription
dThe duration to convert.