MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / Plat_FloatTime

Function Plat_FloatTime

src/tier0/platformtime.cpp:121–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121double Plat_FloatTime()
122{
123 // We subtract off the tick base to keep the diff as small
124 // as possible so that our conversion math is more accurate.
125 uint64 Ticks = Plat_RelativeTicks(); // NOTE: inits globals
126 return ((double)(int64)(Ticks - g_TickBase)) / g_TickFrequencyDouble;
127}
128
129uint64 Plat_USTime()
130{

Callers

nothing calls this directly

Calls 1

Plat_RelativeTicksFunction · 0.85

Tested by

no test coverage detected