retagged by
446 views
1 votes
1 votes
Given the following benchmark code, and assume that all variables except array locations resides in registers, a double variable occupies 8 bytes and the array A, B and C are placed consecutively in memory, answer the following questions

double A[1024], B[1024], [1024];

for (int i=0; i< 1000; i += 2){

A[i]=35.0 * B[i] + C[i+1];

}

 

Assume a virtually addressed two-way set associative cache of capacity 8 KB and 64 byte blocks, compute the overall miss rate.
retagged by

Please log in or register to answer this question.

No related questions found