Hi Rodrigo,

please try "pkt->req->getPC()". There is a request point in packet.hh. see request.hh for the function information.

-Tao

On 02/05/2013 01:11 PM, Rodrigo Reynolds Ramírez wrote:
Hello everyone,

I am working in some cache replacement policies, for some of them I need the PC value associated with a memory access, I am checking the blk and packet classes but there is not any method for accessing it, Do you is there a way for access the PC from the memory hierarchy?

Thanks in advance
                                 Rodrigo


_______________________________________________
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

Reply via email to