explain how the performance is affected by the cpu architecture, the type of the program being executed and the compilers? what pitfalls and fallacies might you encounter in measuring the performance?

Respuesta :

The amount of labor required can be decreased using compiler optimizations, such as unrolling loops to minimize the number of branches, register allocation to decrease the number of memory accesses, and inlining to eliminate call overhead.

What does computer architecture mean by CPU performance?

The total amount of time a CPU spends performing calculations is known as CPU execution time. It does not include time spent doing I/O or executing other programs. This is sometimes known as just CPU time. Since performance is inversely related to execution time, execution time determines performance.

Does performance change when a CPU is changed?

Because CPUs control all of the computer's operating systems and programs, an improved CPU increases the system's overall run speed. Performance on a computer can be considerably enhanced by a new CPU.

To know more about compilers visit:-

https://brainly.com/question/28232020

#SPJ4

ACCESS MORE