The following code, written in C, where elements within the same row are stored contiguously, was implemented on a computer system containing the cache system already discussed.for( i = 0; i < 8;="" i++="">for( j = 0; j<8000; j++="">8000;>a[i][j] = b[i][0] + a[j][i]a) References to which variables exhibit temporal locality?b) References to which variables exhibit spatial locality?
(please explain in details)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here