[#absl-DurationFromTimeval]
= xref:absl.adoc[absl]::DurationFromTimeval
:relfileprefix: ../
:mrdocs:

Converts a `timeval` to an `absl&colon;&colon;Duration`&period;

== Synopsis

Declared in `&lt;absl&sol;time&sol;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Duration.adoc[Duration]
DurationFromTimeval(timeval tv);
----

== Return Value

The equivalent duration&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tv*
| The `timeval` to convert&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
