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