Russell Hind wrote:

>Does this help?
>
>I've just run this quickly on my PIII 800 running Win2K SP3 and worse
>case for 1,000,000 calls to QueryPerformanceCounter was 1.92seconds,
>usually between 1.55 and 1.65 seconds  (10 runs).
>
>LARGE_INTEGER Start, End, Temp;
>     QueryPerformanceCounter(&Start);
>     for (unsigned int i = 0; i < 1000000; ++i)
>     {
>         QueryPerformanceCounter(&Temp);
>     }
>     QueryPerformanceCounter(&End);
>
>LARGE_INTEGER Frequency;
>     QueryPerformanceFrequency(&Frequency);
>
>double Time = (static_cast<double>(End.QuadPart) - Start.QuadPart) /
>Frequency.QuadPart;
>
>Doesn't seem to bad to me.  Can't test on any more OSes as this is all
>we have installed.

Interesting. Could you please post the entire program as an attachment, so I can just compile and run it without any cut-and-paste?

Thanks,

--Beman


_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to