Hi Avais,
Are you using any kind of prefetcher? Requests issued by a prefetcher
won't have a valid PC either.
Generally the PC is stored in the request object of a packet. If the
request has been instantiated and initialized in the memory system
(e.g., writebacks, prefetches), it won't have a valid PC.
Thanks,
Nikos
On 01/15/18 11:17, Muhammad Avais wrote:
Dear Nikos,
Many thanks for your reply. Actually, I wanted to see
the Program counter value of Load/Store instructions that brought blocks
in L2 cache
For evicted blocks from L1 cache, i have copied the Program counter
value in Request of Packet in writebackblock() function. Now, I can see
the Program counter of L2 blocks brought into L2 because of writeback miss
Problem is for blocks brought into L2 because of miss in L2. For some
benchmarks(astar, gobmk), i see invalid PC value for many packets.
How can i modify gem5 to get valid PC value for blocks brought into L2
because of miss in L2
Many Thanks,
Best Regards,
Avais
On Sat, Jan 13, 2018 at 12:21 AM, Nikos Nikoleris
<[email protected] <mailto:[email protected]>> wrote:
Hi Avais,
If I remember correctly, this is expected. Evictions, for example, won't
have a valid program counter.
Nikos
On 01/12/18 11:44, hassan yamin wrote:
For the packets you are getting invalid program counter, can you
check
is it read or write packet?
On Jan 12, 2018 8:20 PM, "Muhammad Avais"
<[email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>>
wrote:
Dear All,
I want to get the Program counter value of
packets at
some points in gem5.
For some packets, i am getting invalid program counter value(in
cache::handlefill() function mostly)
Can anyone suggest, how can i get valid program counter.
Many Thanks
Best Regards
Avais
_______________________________________________
gem5-users mailing list
[email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>>
_______________________________________________
gem5-users mailing list
[email protected] <mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
<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] <mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
_______________________________________________
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