GetTime overloads
Synopses
Declared in <util/time.h>
DEPRECATED Use either ClockType::now() or Now<TimePointType>() if a cast is needed. ClockType is ‐ SteadyClock/std::chrono::steady_clock for steady time ‐ SystemClock/std::chrono::system_clock for system time ‐ NodeClock for mockable system time
int64_t
GetTime();
DEPRECATED, see GetTime.
template<typename T>
T
GetTime();
Return Value
-
The current node time as a Unix timestamp in seconds.
-
The current node time since epoch as a duration of type T.
Created with MrDocs