Henri van den Bulk edited Problem 1.tex  over 9 years ago

Commit id: 1e994da62af4e0a79db0c5eb265dad7ce3df2e30

deletions | additions      

       

\end{enumerate}  To find the $CPI_{total}$ we need to use the equation   \begin{displaymath}CPI_{total} = \sum_{i=1}^{n} {CPI_i \times Percentage_i} = (CPI_{alu} \end{displaymath}  \begin{displaymath}(CPI_{alu}  \times Percentage_{alu})+ Percentage_{alu}) +  (CPI_{branch} \times Percentage_{branch}) + (CPI_{load} \times Percentage_{load}) + (CPI_{store} \times Percentage_{store})\end{displaymath} \begin{description}  \item[First] To calculate the $CPI_{load}$ and $CPI_{store}$ we determine the $CPI$ based on the hit ratio of the cache. We're assuming here that load and store have and even distribution of how the cache and memory is accessed.