From WikiChip
Runtime

Runtime or run time or execution time is the total duration a program is executing.

Overview[edit]

The total execution time of a program is the length of time in which the program is executing. It is the product of the cycles per instruction, the clock cycle, and the total instruction count of the program.

Equation StartLayout 1st Row 1st Column upper T Subscript exec 2nd Column equals StartFraction monospace seconds Over monospace program EndFraction equals StartFraction monospace instructions Over monospace program EndFraction times StartFraction monospace cycles Over monospace instructions EndFraction times StartFraction monospace seconds Over monospace cycle EndFraction 2nd Row 1st Column Blank 3rd Row 1st Column Blank 2nd Column equals monospace IC times monospace CPI times monospace clock monospace cycle left-bracket StartFraction monospace seconds Over monospace program EndFraction right-bracket EndLayout

Note that the reciprocal of execution time is the performance of the program.

See also[edit]