1
It has as I isolate the processor to run only my program in C?
It’s more of a didactic and scholarly question that my I.A teacher passed on to me.
He asked us to perform millions of operations to sum up real numbers, and take the time it took the processor to execute them. Then split, and find the average that the processor takes to perform 1 sum operation.
And do this with other operations of subtraction, multiplication and comparison.
How do I completely isolate the processor, and it only execute my code? He left it free to do in any language, but I believe that C is the most viable, can be Assembly also.
If it is possible for Windows to stop all the processes to do just that calculation, won’t the OS quit? And how do I do this?
How about starting with [Process Escalation](https://pt.wikipedia.org/wiki/Escalonamento_de_processos "Process Escalation"). and then something more practical like: [Nice on Unix](https://en.wikipedia.org/wiki/Nice_(Unix) "Nice")
– Lacobus
Have any answers solved what was in doubt? Do you need something else to be improved? Do you think it is possible to accept it now?
– Maniero