
Play with a friend
Turn-based: you each do the quiz on your own time.
Play vs random
Face a random opponent that have completed this quiz before.
Quiz setup
Choose your name
Choose your name
Play with a friend
Turn-based: you each do the quiz on your own time.
Play vs random
Face a random opponent that have completed this quiz before.
Performance evaluation is critical in computer architecture to compare systems and optimize designs. Three core metrics form the foundation: execution time, clock rate, and CPI (Cycles Per Instruction).
Execution time (or wall-clock time) is the most direct measure: the total time taken by a processor to complete a specific task or program. It is the primary indicator of performance—lower execution time means higher performance. Execution time can be divided into:
Clock rate (clock frequency) is the speed at which a processor’s clock generator emits pulses, measured in hertz (Hz). Each pulse triggers a new hardware operation cycle. A 3 GHz processor executes clock cycles per second. While a higher clock rate often suggests faster processing, it alone doesn’t determine performance—efficiency in cycle usage (CPI) is equally vital.
CPI quantifies the average number of clock cycles a processor requires to execute a single instruction. It reflects hardware efficiency and is influenced by:
These metrics interrelate via the fundamental performance equation:
Example: A program with instructions, running on a 2 GHz CPU with an average CPI of 1.5:
Understanding these metrics enables informed design choices and accurate performance comparisons between systems.