[ofw][patch][WinVerbs tests] Re: fix IPv6 related connection problem

Hefty, Sean sean.hefty at intel.com
Wed Feb 18 20:37:19 PST 2009


>You can use the __rdtsc intrinsic, it has far lower overhead.
>
>Depending on the system, QueryPerformanceCounter will go to the system PM
>timer, which can involve a good amount of overhead.

Is the overhead before or after the time stamp has already been retrieved?

>> Another solution would have been a proprietory function, that performs
>> timestamping on win2k8 fast.
>
>#pragma intrinsic(__rdtsc)
>
>start = __rdtsc();

We should probably switch to this, though it seems really lame that the high resolution performance counter would be slow.



More information about the ofw mailing list