"Alisdair Meredith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Russell Hind wrote: > > WinAPI Note: we can get a higher resolution using the > QueryPerformanceCounter API (and QueryPerformanceFrequency if resolution > info is required) > It is (was) not completely reliable: see Q274323 bug in MS Knowledgebase:
"Symptoms: The result that is returned by the QueryPerformanceCounter function may unexpectedly leap forward from time to time. This leap may represent several seconds." The MSDN article specifies what HW can cause the problem and how to work it around. /Pavel PS: my experience with this API is positive, I got resolution cca ~1 microsecond and the call overhead was tiny. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost