[#absl-DurationFromTimeval] = xref:absl.adoc[absl]::DurationFromTimeval :relfileprefix: ../ :mrdocs: Converts a `timeval` to an `absl::Duration`. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Duration.adoc[Duration] DurationFromTimeval(timeval tv); ---- == Return Value The equivalent duration. == Parameters [cols="1,4"] |=== | Name| Description | *tv* | The `timeval` to convert. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#