14.11.2020
Sei \(L(P)\) die laufzeit des Programs \(P\) in CPU-Cycles. Sei \(T_{M1}(P)\) die Laufzeit des Programs P in Sekunden auf der Maschine M_1
\[CPI = \begin{pmatrix}2\\4\\10\\50\\100\end{pmatrix}\] \[P_1 = \begin{pmatrix}20000\\5000\\2000\\30\\500\end{pmatrix}\] \[L(P_1) = CPI \cdot P_1 = 131500\] \[L(P_2) = CPI \cdot P_2 = 173000\]
\[20000 * 2 + 5000 * 4 +2000 * 10 + 50 * 30\]