MCPcopy Create free account
hub / github.com/apache/impala / UnixMicros

Function UnixMicros

be/src/util/time.h:78–80  ·  view source on GitHub ↗

Returns the number of microseconds that have passed since the Unix epoch. This is affected by manual changes to the system clock but is more suitable for use across a cluster. For more accurate timings on the local host use the monotonic functions above.

Source from the content-addressed store, hash-verified

76/// a cluster. For more accurate timings on the local host use the monotonic functions
77/// above.
78inline int64_t UnixMicros() {
79 return GetCurrentTimeMicros();
80}
81
82/// Sleeps the current thread for at least duration_ms milliseconds.
83void SleepForMs(const int64_t duration_ms);

Callers 14

StatestoreMethod · 0.85
InitStatestoreHaMethod · 0.85
TEST_PFunction · 0.85
ClientRequestStateMethod · 0.85
UpdateEndTimeMethod · 0.85
QueryStateToJsonMethod · 0.85
PrepareQueryContextMethod · 0.85
MaterializeNextTupleMethod · 0.85
TEST_PFunction · 0.85
ThreadFnMethod · 0.85

Calls 1

GetCurrentTimeMicrosFunction · 0.85

Tested by 8

StatestoreMethod · 0.68
InitStatestoreHaMethod · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68
ThreadFnMethod · 0.68
TESTFunction · 0.68