MCPcopy Create free account
hub / github.com/catboost/catboost / SystemTime

Method SystemTime

util/system/fasttime.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 inline TTime SystemTime() {
51 timeval tv;
52
53 Zero(tv);
54
55 Func(&tv, nullptr);
56
57 return (((TTime)1000000) * (TTime)tv.tv_sec) + (TTime)tv.tv_usec;
58 }
59
60 static inline THolder<TDynamicLibrary> OpenLibc() {
61 const char* libs[] = {

Callers 1

SystemTimeFunction · 0.80

Calls 2

ZeroFunction · 0.85
FuncFunction · 0.50

Tested by

no test coverage detected