[ofw][patch][WinVerbs tests] Re: fix IPv6relatedconnectionproblem
ftillier at windows.microsoft.com
Tue Feb 24 10:34:51 PST 2009
> Fab, I failed to understand, whether you suggest to replace
> QueryPerformanceCounter by GetSystemTimeAsFileTime ?
> Is it faster and as much stable/trustful ?
GetSystemTimeAsFileTime has lower overhead, but also lower resolution. Though it returns time in 100ns increments, the timestamp only increments about every 15ms, so it's useless for what you're trying to do.
QueryPerformanceCounter is the right thing to use, and is getting attention to significantly reduce the overhead. For now it goes to the platform PM timer, which adds to the overhead.
More information about the ofw