proxygen
|
#include <Time.h>
Public Member Functions | |
virtual | ~TimeUtilGeneric () |
virtual std::chrono::time_point< ClockType > | now () const |
virtual uint64_t | msSinceEpoch () |
Static Public Member Functions | |
static const std::chrono::time_point< ClockType > & | getZeroTimePoint () |
Class used to get steady time. We use a separate class to mock it easier.
|
inlinevirtual |
|
inlinestatic |
Definition at line 178 of file Time.h.
Referenced by proxygen::compress::SimStreamingCallback::onHeadersComplete().
|
inlinevirtual |
Please use strongly typed time_point. This is for avoiding the copy and garbage collection of time_point in Lua.
Definition at line 187 of file Time.h.
References proxygen::millisecondsSinceEpoch().
|
inlinevirtual |
Reimplemented in proxygen::MockTimeUtilGeneric< ClockType >.
Definition at line 174 of file Time.h.
Referenced by proxygen::TraceEvent::end(), and proxygen::TraceEvent::start().