Question: Write a simple loop that lets you exercise the cache. By changing the number of statements in the loop body, you can vary the cache
Write a simple loop that lets you exercise the cache. By changing the number of statements in the loop body, you can vary the cache hit rate of the loop as it executes. If your microprocessor fetches instructions from off-chip memory, you should be able to observe changes in the speed of execution by observing the microprocessor bus.
Step by Step Solution
3.52 Rating (155 Votes )
There are 3 Steps involved in it
To create a program that exercises the cache and observe changes in the speed of execution on a micr... View full answer
Get step-by-step solutions from verified subject matter experts
