FYI, I took the old email I mentioned below and converted it into some
brief documentation here:
http://gem5.org/Classic_Memory_System#Debugging

I'd be interested if anyone ever finds that useful, or if it even still
works.

Steve


On Sat, Nov 29, 2014 at 1:29 PM, Steve Reinhardt <[email protected]> wrote:

>    This is an automatically generated e-mail. To reply, visit:
> http://reviews.gem5.org/r/2498/
>
> On November 20th, 2014, 9:58 a.m. PST, *Andreas Hansson* wrote:
>
>   src/mem/packet.hh
> <http://reviews.gem5.org/r/2498/diff/1/?file=42567#file42567line964> (Diff
> revision 1)
>
> class Packet : public Printable
>
>    954
>
>     checkFunctional(Printable *obj, Addr base, bool is_secure, int size,
>
>   It's used to check against MSHRs. I honestly do not know the historical 
> reasons for this (which is also why I haven't changed it...)
>
>  It's an ancient and rarely used facility I added a long time ago (Jan 2008, 
> according to the log, see http://repo.gem5.org/gem5/rev/e902f12a3af1 and 
> http://repo.gem5.org/gem5/rev/30997e988446).
>
> Basically it builds on the functional access framework that traverses the 
> whole memory system looking for copies of a cache block, but instead of 
> reading/updating those copies, it prints information about those copies 
> (where they live, what their state is, etc.).  I found an email I sent 
> doumenting this feature to the m5-dev list, apparently shortly before we 
> started archiving it, so I can't even send you a link :).  I'll put it up on 
> the wiki later; if no one finds it useful, we could get rid of it.
>
>
>
> - Steve
>
> On November 16th, 2014, 10:16 p.m. PST, Andreas Hansson wrote:
>   Review request for Default.
> By Andreas Hansson.
>
> *Updated Nov. 16, 2014, 10:16 p.m.*
>  *Repository: * gem5
> Description
>
> Changeset 10548:2b33b6c6b656
> ---------------------------
> mem: Cleanup Packet::checkFunctional and hasData usage
>
> This patch cleans up the use of hasData and checkFunctional in the
> packet. The latter function is also tidied up to avoid name overloading.
>
>   Diffs
>
>    - src/mem/cache/cache_impl.hh (1a9e235cab09)
>    - src/mem/packet.hh (1a9e235cab09)
>    - src/mem/packet.cc (1a9e235cab09)
>
> View Diff <http://reviews.gem5.org/r/2498/diff/>
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to