Question: A 32-bit computer has a data cache memory with 8 KB and lines of 64 bytes. Calculate the hit ratio of this program. double
A 32-bit computer has a data cache memory with 8 KB and lines of 64 bytes. Calculate the hit ratio of this program. double a[1024], b[1024], c[1024], d[1024]; // A double occupies 8 bytes, // the array are consecutively stored // in memory for (int i= 0; i < 1024; i++) a[i] = b[i] + c[i] +d[i];
Step by Step Solution
3.44 Rating (157 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
