MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / endHighResolutionTimer

Function endHighResolutionTimer

Engine/source/platform/profiler.cpp:122–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122U32 endHighResolutionTimer(U32 time[2])
123{
124 U32 ticks;
125 __asm__ __volatile__(
126 "rdtsc\n"
127 "sub 0x4(%%ecx), %%edx\n"
128 "sbb (%%ecx), %%eax\n"
129 : "=a" (ticks) : "c" (time)
130 );
131 return ticks;
132}
133
134#elif defined(TORQUE_OS_MAC)
135

Callers 2

hashPopMethod · 0.85
dumpMethod · 0.85

Calls 1

memcpyFunction · 0.85

Tested by

no test coverage detected