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

Advances the simulated time by the specified duration&period; Wakes up any threads whose sleeps have now expired&period; Returns the number of woken threads&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int64&lowbar;t
AdvanceTime(xref:absl/Duration.adoc[absl::Duration] d);
----

== Return Value

The number of woken threads&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *d*
| The duration to advance the simulated time by&period;
|===


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