[#absl-SimulatedClock-SetTime] = xref:absl.adoc[absl]::xref:absl/SimulatedClock.adoc[SimulatedClock]::SetTime :relfileprefix: ../../ :mrdocs: Sets the simulated time to the argument. Wakes up any threads whose sleeps have now expired. Returns the number of woken threads. == Synopsis Declared in `<absl/time/simulated_clock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int64_t SetTime(xref:absl/Time.adoc[absl::Time] t); ---- == Return Value The number of woken threads. == Parameters [cols="1,4"] |=== | Name| Description | *t* | The new simulated time. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#