Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
43
int gettimeofday(timeval* tp, void*) {
44
FILETIME ft;
45
GetSystemTimeAsFileTime(&ft);
46
FileTimeToTimeval(&ft, tp);
47
return 0;
48
}
49
50
tm* localtime_r(const time_t* clock, tm* result) {
51
tzset();
Callers
15
Now
Function · 0.85
get_msecs
Function · 0.85
GetSystemClockCount
Function · 0.85
GetDateAndTime
Function · 0.85
gather_time_entropy
Function · 0.85
now_us
Method · 0.85
nstime_get
Function · 0.85
background_thread_sleep
Function · 0.85
mythread_condtime_set
Function · 0.85
__libcpp_system_clock_now
Function · 0.85
now
Method · 0.85
__libcpp_system_clock_now
Function · 0.85
Calls
1
FileTimeToTimeval
Function · 0.85
Tested by
no test coverage detected