MCPcopy Create free account
hub / github.com/catboost/catboost / ~TFormattedPrecisionTimer

Method ~TFormattedPrecisionTimer

util/datetime/cputimer.cpp:101–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101TFormattedPrecisionTimer::~TFormattedPrecisionTimer() {
102 const ui64 end = GetCycleCount();
103 const ui64 diff = end - Start;
104
105 *Out << Message << ": " << diff << " ticks " << FormatCycles(diff) << Endl;
106}
107
108TFuncTimer::TFuncTimer(const char* func)
109 : Start_(TInstant::Now())

Callers

nothing calls this directly

Calls 2

GetCycleCountFunction · 0.85
FormatCyclesFunction · 0.85

Tested by

no test coverage detected