[ODE] why setTransform() ?

Russ Smith russ at q12.org
Wed Jan 9 14:39:01 2002


> Don't waste your time with QueryPerformanceCounter go straight for 
> rdtsc if available ( unless you are on an SMP and even then rdtsc is 
> still a good way to go)

if you do this, remember to use a serializing instruction such as
"cpuid". see ODE's timer.cpp for some examples. this is necessary
to account properly for delayed cache writeback and other such
things - with no serializing the rdtsc may report unrealistically
quick performance.

russ.

--
Russell Smith
http://www.q12.org