aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/url2file.c
diff options
context:
space:
mode:
authorPavel P <pavlov.pavel@gmail.com>2018-11-26 15:10:10 -0800
committerJay Satiro <raysatiro@yahoo.com>2018-12-23 02:30:37 -0500
commite9ababd4f5aff042dd3b5a4f9568f22e6604d115 (patch)
tree57d2927109db050fa429e5e78fee5045e085edcd /docs/examples/url2file.c
parentc98ee5f67f497195c9127cc70fa53a487f994cd5 (diff)
timeval: Use high resolution timestamps on Windows
- Use QueryPerformanceCounter on Windows Vista+ There is confusing info floating around that QueryPerformanceCounter can leap etc, which might have been true long time ago, but no longer the case nowadays (perhaps starting from WinXP?). Also, boost and std::chrono::steady_clock use QueryPerformanceCounter in a similar way. Prior to this change GetTickCount or GetTickCount64 was used, which has lower resolution. That is still the case for <= XP. Fixes https://github.com/curl/curl/issues/3309 Closes https://github.com/curl/curl/pull/3318
Diffstat (limited to 'docs/examples/url2file.c')
0 files changed, 0 insertions, 0 deletions