curl-library
Re: GetTickCount vs QueryPerformanceCounter
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 25 May 2010 23:10:56 +0200 (CEST)
Date: Tue, 25 May 2010 23:10:56 +0200 (CEST)
On Thu, 20 May 2010, Igor Novoseltsev wrote:
> The libcurl uses GetTickCount (called from curlx_tvnow) to track the elapsed
> time.
>
> It is appears that the GetTickCount much less precise!
> Is this possible to move the libcurl to use the QueryPerformanceCounterd?
I have no idea. I don't know much windows internals.
If you mofify your libcurl build to use that instead, does it solve your
problem? Are there any drawbacks in using that function? In what windows
versions is QueryPerformanceCounterd available?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-05-26