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

Function UnixMillis

be/src/util/time.h:57–59  ·  view source on GitHub ↗

Returns the number of milliseconds 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

55/// a cluster. For more accurate timings on the local host use the monotonic functions
56/// above.
57inline int64_t UnixMillis() {
58 return GetCurrentTimeMicros() / MICROS_PER_MILLI;
59}
60
61/// Return the time 'time_us' microseconds away from now in 'abs_time'.
62inline void TimeFromNowMicros(int64_t time_us, timespec* abs_time) {

Callers 15

RegisterCatalogdMethod · 0.85
CheckActiveCatalogMethod · 0.85
UnregisterCatalogdMethod · 0.85
RegisterSubscriberMethod · 0.85
UpdateCatalogInfoMethod · 0.85
DoSubscriberUpdateMethod · 0.85
MarkSessionInactiveMethod · 0.85
ExecMethod · 0.85
MarkInactiveMethod · 0.85
MarkActiveMethod · 0.85
LogAuditRecordMethod · 0.85
LogLineageRecordMethod · 0.85

Calls 1

GetCurrentTimeMicrosFunction · 0.85

Tested by 8

RegisterCatalogdMethod · 0.68
CheckActiveCatalogMethod · 0.68
UnregisterCatalogdMethod · 0.68
RegisterSubscriberMethod · 0.68
UpdateCatalogInfoMethod · 0.68
DoSubscriberUpdateMethod · 0.68
TESTFunction · 0.68
TESTFunction · 0.68