ΒΆinline std::chrono::microseconds toDuration(
    const struct timeval& TV)

Description

Convert a struct timeval to a duration. Note that timeval can be used both as a time point and a duration. Be sure to check what the input represents.

Declared at: llvm/lib/Support/Unix/Unix.h:81

Parameters

const struct timeval& TV