Hi Ali, Thank you so much! That's very helpful! -- Hongyuan Ding
On Apr 24, 2013, at 10:51 PM, Ali Saidi <[email protected]<mailto:[email protected]>> wrote: On 24.04.2013 21:02, Ding, Hongyuan wrote: Hi all, I want to print all the virtual addresses of instruction cache misses. I noticed that in the function Cache<TagStore>::access() in cache_impl.hh, the DPRINTF will print the address of a cache access: pit->getAddr(). But I'm not sure it's the virtual address or the physical address. If it's a physical address, how can I get the corresponding virtual address? Thanks in advance. pkt->req->getVaddr() Ali _______________________________________________ gem5-users mailing list [email protected]<mailto:[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
