Hi,
Just for a double check, is this statement true?
The prefetcher is called on of the following cases:
1- cache block is accesses
or
2- that block was a prefetched block
or
3- cache miss
I said that because of the following code.
if (satisfied) {
if (prefetcher && (prefetchOnAccess || (blk &&
blk->wasPrefetched()))) {
if (blk)
blk->status &= ~BlkHWPrefetched;
next_pf_time = prefetcher->notify(pkt, time);
}
....
} else {
// miss
if (mshr) {
.....
} else {
// no MSHR
.....
if (prefetcher) {
next_pf_time = prefetcher->notify(pkt, time);
}
}
}
Thanks and sorry for taking up your time
--
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users