- processor performance:
- clock cycle (time) is the time for one clock period (usually of the processor clock, which runs at a constant rate, usually published as part of the documentation for a computer)
- note: Although clock cycle time has traditionally been fixed, to save energy or temporarily boost performance, today’s processors can vary their clock rates, so we would need to use the average clock rate for a program.
- clock rate is the inverse of the clock cycle time (usually measured in Hz or its multiples)
- response time (or execution time) is the total time required for the computer to complete a task (including disk accesses, memory accesses, I/O activities, operating system overhead, CPU execution time, etc.)
- performance is the reciprocal of response time PerformanceX=Response timeX1
- CPU (execution) time (of task) is the actual time the CPU spends computing for a specific task (excluding other activities)
- throughput (or bandwidth) is the number of tasks completed per unit time
- program performance:
- instruction count is the number of instructions executed by the program
- CPI (cycles per instruction) is the average number of clock cycles per instruction for a program or program fragment
- CPU clock cycles is the total number of clock cycles consumed by the program CPU clock cycles=Instruction count×CPI
- CPU (execution) time (of program) is CPU time for program=CPU clock cycles×Clock cycle time=Clock rateCPU clock cycles