You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the book on the page 33 you mention TSC as a tool to measure the time. The problem is, there is no easy way to convert TSC ticks into the nanoseconds. I haven't found one function that works on the user level (without elevated privileges). The only way is to call QueryPerformanceCounter, then sleep, then call QueryPerformanceCounter again and measure the delta. The result is not precise.
The text was updated successfully, but these errors were encountered:
In the book on the page 33 you mention TSC as a tool to measure the time. The problem is, there is no easy way to convert TSC ticks into the nanoseconds. I haven't found one function that works on the user level (without elevated privileges). The only way is to call
QueryPerformanceCounter
, then sleep, then callQueryPerformanceCounter
again and measure the delta. The result is not precise.The text was updated successfully, but these errors were encountered: