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

Function endHighResolutionTimer

engine/source/debug/profiler.cc:99–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99U32 endHighResolutionTimer(U32 time[2])
100{
101 U32 ticks;
102 __asm__ __volatile__(
103 "rdtsc\n"
104 "sub 0x4(%%ecx), %%edx\n"
105 "sbb (%%ecx), %%eax\n"
106 : "=a" (ticks) : "c" (time)
107 );
108 return ticks;
109}
110
111#elif defined(TORQUE_OS_MAC_CARB)
112

Callers 2

hashPopMethod · 0.85
dumpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected