Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Seconds
Function
Seconds
util/system/datetime.cpp:75–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
ui32 Seconds() noexcept {
76
struct timeval tv;
77
gettimeofday(&tv, nullptr);
78
return tv.tv_sec;
79
}
80
81
void NanoSleep(ui64 ns) noexcept {
82
#if defined(_win_)
Callers
15
RunBasics
Method · 0.70
RunBasicsWithPredicate
Method · 0.70
RunSyncronize
Method · 0.70
RunSyncronizeWithPredicate
Method · 0.70
Process
Method · 0.70
Y_UNIT_TEST
Function · 0.70
Y_UNIT_TEST
Function · 0.70
WaitImpl
Method · 0.50
Close
Method · 0.50
Wait
Method · 0.50
DoIoSleep
Function · 0.50
DoMain
Function · 0.50
Calls
1
gettimeofday
Function · 0.85
Tested by
3
TestEventQueue
Method · 0.40
TestOverrideTime
Method · 0.40
TestDurationCurationConstructorFunctionSaturation
Function · 0.40