Time is used to measure a computer’s performance

Wall clock time: elapsed time (including overheads)

CPU Cycles

CPU execution time (or CPU time): The time which the CPU spends on the program (without overhead)

To go from CPU time to CPU cycles, we have the formulas:

Instruction Performance

CPU time depends on the number of instructions of a given program (CPI = Clock cycles per instruction)

Using the previous CPU time equation, we can get that the CPU time for a program time

Performance and Power

We have the dynamic power consumption ratio given by