Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ CyclesToDuration
Function
CyclesToDuration
util/datetime/cputimer.cpp:48–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
TDuration CyclesToDuration(ui64 cycles) {
49
return TDuration::MicroSeconds(cycles * 1000000 / GetCyclesPerSecond());
50
}
51
52
TDuration CyclesToDurationSafe(ui64 cycles)
53
{
Callers
1
CyclesToDurationSafe
Function · 0.85
Calls
2
MicroSeconds
Function · 0.85
GetCyclesPerSecond
Function · 0.85
Tested by
no test coverage detected