Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
static CInt128 ticksFrequency{0};
55
56
SINT64 ticksToNanoseconds(FB_UINT64 ticks)
57
{
58
return CInt128((SINT64) ticks).mul(ONE_SECOND_IN_NS).div(ticksFrequency, 0).toInt64(0);
59
}
60
61
auto& defaultPool()
62
{
Callers
1
flush
Method · 0.85
Calls
4
CInt128
Class · 0.85
toInt64
Method · 0.45
div
Method · 0.45
mul
Method · 0.45
Tested by
no test coverage detected