MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ticksToNanoseconds

Function ticksToNanoseconds

src/plugins/profiler/Profiler.cpp:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54static CInt128 ticksFrequency{0};
55
56SINT64 ticksToNanoseconds(FB_UINT64 ticks)
57{
58 return CInt128((SINT64) ticks).mul(ONE_SECOND_IN_NS).div(ticksFrequency, 0).toInt64(0);
59}
60
61auto& defaultPool()
62{

Callers 1

flushMethod · 0.85

Calls 4

CInt128Class · 0.85
toInt64Method · 0.45
divMethod · 0.45
mulMethod · 0.45

Tested by

no test coverage detected