How can I isolate the processor to run only my program in C?
It is more a didactic and academic question passed by my teacher of AI.
He asked us to run millions of real-number sum operations, and take the time the processor took to run them. Then divide, and find the media that the processor takes to perform 1 sum operation.
And do this with the other subtraction, multiplication, and comparison operations.
How do I completely isolate the processor, and does it just run my code? He left free to do in any language, but I believe C is the most viable, it can be Assembly as well.
If it is possible for Windows to stop all processes to do just that calculation, the OS will not stick? And how do I do this?