Thank you very much
On Thu, Feb 20, 2014 at 7:58 AM, Seyedhamidreza Motaman < [email protected]> wrote: > Thank you so much. > > > On Thu, Feb 20, 2014 at 12:34 AM, Matt Poremba <[email protected]> wrote: > >> Hi, >> >> At least one way to do this is using the "name()" method shared by all >> SimObject classes and use a string comparison. The name() method should >> return the same as the stats.txt identifier, for example you can do "if >> (name() == "system.l2") { /* do something*/ }". Icache should be >> "system.cpu##.icache" and dcache "system.cpu##.dcache". >> >> -- >> Matt Poremba >> Ph.D. Candidate >> 354B IST Building >> Pennsylvania State University >> University Park, PA 16802 >> >> >> On Wed, Feb 19, 2014 at 7:08 AM, Seyedhamidreza Motaman < >> [email protected]> wrote: >> >>> Hello All, >>> >>> >>> I want to check whether my access is to l2cache or not in >>> cache_impl.hh. Which function or variable determines the type of access ( >>> For example Dcache, icache or l2cache)?? I would really appreciate if >>> someone explain it to me. >>> >>> >>> Regards, >>> Hamid >>> >>> _______________________________________________ >>> 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 >> > >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
