How does QueryPerformanceCounter measure time?
0:00 · Watch on YouTube
On modern Windows in the invariant-TSC era, QueryPerformanceCounter is just a thin wrapper around RDTSCP that rescales a ~4.2 GHz timestamp counter down to 10 MHz with an integer mul-add-shift sequence, so you should...