MCPcopy Create free account
hub / github.com/catboost/catboost / GetMicrosecondsToTicks

Function GetMicrosecondsToTicks

library/cpp/yt/cpu_clock/clock.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20};
21
22double GetMicrosecondsToTicks()
23{
24 static const auto MicrosecondsToTicks = static_cast<double>(NHPTimer::GetCyclesPerSecond()) / 1'000'000;
25 return MicrosecondsToTicks;
26}
27
28double GetTicksToMicroseconds()
29{

Callers 3

GetTicksToMicrosecondsFunction · 0.85
DurationToCpuDurationFunction · 0.85
InstantToCpuInstantFunction · 0.85

Calls 1

GetCyclesPerSecondFunction · 0.85

Tested by

no test coverage detected