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

Function Plat_USTime

src/tier0/platformtime.cpp:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129uint64 Plat_USTime()
130{
131 // We subtract off the tick base to keep the diff as small
132 // as possible so that our conversion math is more accurate.
133 uint64 Ticks = Plat_RelativeTicks(); // NOTE: inits globals
134 return (uint64)( (Ticks - g_TickBase) * g_TicksToUS );
135}
136
137END_TIER0_NAMESPACE

Callers 3

TestEllipticPerfFunction · 0.85

Calls 1

Plat_RelativeTicksFunction · 0.85

Tested by 2

TestEllipticPerfFunction · 0.68