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

Sets the simulated time to the argument&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
SetTime(xref:absl/Time.adoc[absl::Time] t);
----

== Return Value

The number of woken threads&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *t*
| The new simulated time&period;
|===


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