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

Function gettimeofday

util/datetime/systime.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43int gettimeofday(timeval* tp, void*) {
44 FILETIME ft;
45 GetSystemTimeAsFileTime(&ft);
46 FileTimeToTimeval(&ft, tp);
47 return 0;
48}
49
50tm* localtime_r(const time_t* clock, tm* result) {
51 tzset();

Callers 15

NowFunction · 0.85
get_msecsFunction · 0.85
GetSystemClockCountFunction · 0.85
GetDateAndTimeFunction · 0.85
gather_time_entropyFunction · 0.85
now_usMethod · 0.85
nstime_getFunction · 0.85
background_thread_sleepFunction · 0.85
mythread_condtime_setFunction · 0.85
nowMethod · 0.85

Calls 1

FileTimeToTimevalFunction · 0.85

Tested by

no test coverage detected