[algogeeks] Re: Doubts

2011-08-09 Thread rohit jain
@aditi For the first question. The answer will be ((0.97 *2) + (0.03*2) +(0.03*100)) i.e 5 ns. The reason is that cache is accessed in the case of miss as well, so we need to include that time as well. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

[algogeeks] Re: Doubts

2011-08-09 Thread rohit jain
In memory heirachy, whenever some data is to be read, first data is to be searched in M1, if the data is found in M1 then system returns the value from there and counted as a hit. If the value is not found in M1 i.e. Miss for M1 then it accesses M2 and returns the value from there. Since nothing