Windows C++ nanosecond timing?

c++, performance, visual-c++, windows

Solution

Use the `QueryPerformanceFrequency` function to see what speed the QueryPerformanceCounter runs at. I think it might be in the nanosecond range.

Problem

Is there a way in C++ on windows to measure time in nanoseconds? All i can find are linux solutions.

Original source

Related problems