> I think he meant using it for measuring the time between calls, > in unixes we have gettimeofday for this, but in windows there isnt really any way to do it, since there's no way to get high res timing beyond 10ms.
Actually there is (QueryHighPerformanceCounter). It's accuracy it's better that 1 ms. But my code it's faster and more accurate. You can use it as a timer if you poll it constantly from a thread. This technique was widely used on Windows (althrough with probably another timer, like GetTickCount) for low latency DirectSound apps before the new driver model WDM.
