[#MockableSteadyClock-SetMockTime] = xref:MockableSteadyClock.adoc[MockableSteadyClock]::SetMockTime :relfileprefix: ../ :mrdocs: Set mock time for testing. When mocking the steady clock, start at INITIAL_MOCK_TIME and add durations to elapse time as necessary for testing. To stop mocking, call ClearMockTime(). == Synopsis Declared in `<util/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void SetMockTime(mock_time_point::duration mock_time_in); ---- == Parameters [cols="1,4"] |=== | Name| Description | *mock_time_in* | Mocked elapsed duration since INITIAL_MOCK_TIME. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#