>The pre-fetcher for L2, does it fetch from DRAM and place the data in L2
>(assuming L2 is the last level cache)? Or is it fetching from L2 and placing
>the data in L1?

Hi,
The easiest way is to turn on the debug messages "DPRINTF" and track
one prefetch request that has been issued. I am not sure about the
latest gem5 revision, but in cache_impl.hh you should find this line

    if (prefetcher && !mshrQueue.isFull())

In the body, a prefetch request will be issued.

Normally, if you attach the prefetcher to L1, then L1 is the source
and will get response from either L2 or mem. If you attach it to L2,
then it will get the response from mem.

-- 
Regards,
Mahmood
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to