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

Method NanoSeconds

util/datetime/base.h:198–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 }
197
198 constexpr TValue NanoSeconds() const noexcept {
199 return MicroSeconds() >= (Max<TValue>() / (TValue)1000) ? Max<TValue>() : MicroSeconds() * (TValue)1000;
200 }
201
202 constexpr ui32 MicroSecondsOfSecond() const noexcept {
203 return MicroSeconds() % (TValue)1000000;

Callers 3

WaitMethod · 0.80
SleepFunction · 0.80
CreateTimebasedMethod · 0.80

Calls 1

MicroSecondsFunction · 0.85

Tested by

no test coverage detected