Hi, I assume that you want to keep track of a piece of data at a specific virtual/physical address. I don't know a definite answer to this, but one thing you can do is to use the gem5 logging system (i.e. DPRINTF and the like) and figure out what flags you should enable to keep track of transactions in the memory hierarchy. Also, I believe `Packet` objects are the ones that handle data transferring.
Regards, Hoa Nguyen On 11/12/20, yujiecui--- via gem5-users <[email protected]> wrote: > In the process of step-by-step debugging of gem5, how can I know whether a > data currently exists in cache or in memory, and what level of cache it is? > I think gem5 should provide such a method? > Thanks for answer. > _______________________________________________ > gem5-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > _______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
