c++ - Accurate benchmark under windows -


I am writing a program for which a set of executables is required to run and execution takes time. My first method is to run just one process, start a timer and see the difference between the start time and the time when the value of going out of the process turns out.

Unfortunately, this program can not change a lot of other processes / thread execution time on a dedicated machine.

I get time in milliseconds / clocks which was actually given to the process by OS. I hope the windows store that information somewhere but I can not find anything useful on MSDN.

Sure, a process is to run the process several times and calculate the time of assurance, but I am used to avoiding it.

Thank you.

You can put a look at the API.


Comments