Great, thanks. One more question if I may. I am trying to exclude the kernel accesses in my $L2 access cache trace. The system->getKernelStart() and system->getKernelEnd() functions return the virtual addresses but the $L2 is accessed using physical addresses. Is it correct to obtain the virtual address pkt->req->getVaddress() of the request coming to $L2 and compare it with the kernel virtual address range?
On Tue, Jan 29, 2013 at 4:51 PM, Andreas Hansson <[email protected]>wrote: > Have a look at getMasterName in System ( > http://www.gem5.org/docs/html/classSystem.html) > > Andreas > > From: mihai pricopi <[email protected]> > Reply-To: gem5 users mailing list <[email protected]> > Date: Tuesday, 29 January 2013 08:00 > To: gem5 users mailing list <[email protected]> > Subject: Re: [gem5-users] Last leve cache accesses > > Thanks, > > Is there a simple way to obtain the mappings of MasterIDs to the > resource that originated the request ? > > > On Tue, Jan 29, 2013 at 3:58 PM, Mahmood Naderan <[email protected]>wrote: > >> I think so. However Andreas says MasterID is the right thing >> http://comments.gmane.org/gmane.comp.emulators.m5.users/13388 >> >> On 1/27/13, mihai pricopi <[email protected]> wrote: >> > In cache_imple.hh access() function, is the returned value of >> > pkt->req->contextId() the id of the core who made the cache request >> > (assuming no SMT) ? >> > >> > >> > On Sun, Jan 27, 2013 at 5:45 AM, Nilay <[email protected]> wrote: >> > >> >> On Fri, January 25, 2013 10:30 pm, mihai pricopi wrote: >> >> > Hi, >> >> > >> >> > I would like to trace only the requests coming from lower level of >> >> caches >> >> > to the last level of cache indicating the cpu that made that >> request. I >> >> > used debug flag Cache but that contains too much information and I >> >> > don't >> >> > know if it indicates who made the request. >> >> > Is there a debug flag for this ? >> >> >> >> No, I don't think there is a debug flag for printing such a specific >> >> info. >> >> >> >> -- >> >> Nilay >> >> >> >> >> > >> >> >> -- >> Regards, >> Mahmood >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
