[ntp:questions] micro-optimization

David J Taylor david-taylor at blueyonder.neither-this-bit.nor-this.co.uk
Wed Mar 11 14:39:13 UTC 2009


David J Taylor wrote:
[]
> On the Intel 6600 dual-core, 2.4GHz processor here, under XP, a RDTSC
> takes about 4.2ns, and a OS call to timeGetTime takes about 11.8ns. 
> At least, they do if my measurement program is working correctly....
> 
> Haven't checked QPC.
> 
> Cheers,
> David

And QueryPerformanceCounter takes some 226ns.  Oh dear!

David




More information about the questions mailing list