Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ MicroSeconds
Function
MicroSeconds
util/system/datetime.cpp:34–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
#endif
33
34
ui64 MicroSeconds() noexcept {
35
struct timeval tv;
36
gettimeofday(&tv, nullptr);
37
38
return ToMicroSeconds(tv);
39
}
40
41
ui64 ThreadCPUUserTime() noexcept {
42
#if defined(_win_)
Callers
15
TBaseServerRequestData
Method · 0.85
Clear
Method · 0.85
GetWallTime
Function · 0.85
CpuDurationToDuration
Function · 0.85
SuggestSleepDelay
Function · 0.85
Y_UNIT_TEST
Function · 0.85
SyncStop
Method · 0.85
TContBIO
Method · 0.85
Read
Method · 0.85
SimpleTestCase
Function · 0.85
THostEntropy
Method · 0.85
Y_UNIT_TEST
Function · 0.85
Calls
2
gettimeofday
Function · 0.85
ToMicroSeconds
Function · 0.85
Tested by
1
TestTimeUnits
Function · 0.68