Re: [Deinterlace-discuss] Problems fixed
Brought to you by:
adcockj,
dschmelzer
|
From: Rob M. <rob...@gm...> - 2005-06-22 12:58:49
|
At 14:00 21-06-05, Nick Kochakian wrote: >You should use the high resolution timer functions instead of inline >assembly for timing. If the Query functions don't fail then it's >safe to use them, and they've been working on machines as old as a >Pentium running Windows 95. Unfortunately the high resolution timer function is not fast enough for accurately creating pauses at a rate of 50kHz. Some more info from the original message: "I have done some testing and there seems to be a real good reason why it was done this way. On a P2 350 MHz QueryPerformanceCounter() can be executed about 200,000 times per second, this is not fast enough to accurately measure a 50 kHz event. Some more testing reveals that the rdtsc instruction can be executed about 10 million times per second on the same machine." Rob |