Does the PC have a counter with a frequency greater than the
*lpFrequency the void QueryPerformanceFrequency function (LARGE_INTEGER
*lpFrequency )? And how to contact him if he exists?
The thinnest counter is the TSC (Time Stamp Counter). Read instruction
rdtsc (examples google).
It should be noted here that in multiprocessor systems TSC counters of different processors can be unsynchronized (in the case of SMP they are unsynchronized by definition).
In your case, the
QueryPerformanceFrequency will most likely be the best solution.