Hi Prakhar,
Use masterId() instead. It return the master name which is set in the Python
code. Take a look at this code:
https://github.com/farzadfch/gem5-cache-partitioning/blob/master/cache-part.patch#L158
Farzad
From: gem5-users on behalf of Prakhar Javre
Sent: Wednesday, September 20, 2017 4:14 AM
To: gem5-users@gem5.org
Subject: [gem5-users] Fwd: Issue related to requests having no contextID
Hi guys,
We are implementing a scheme for protection against timing channel attacks in
DRAM controllers. In that, it is required to choose request (for DRAM
controller) from a specific core at any particular time. While checking for it,
we found that a lot of requests are not having contextIDs. We also modified
cache code to assign contextIDs to writeback requests, but apparently, even
some of the read requests (and other requests also) are not having any
contextID. Can you guys help us in figuring out from which place exactly are
these requests coming?
System config -
2 Cores, L1I, L1D, L2(shared), Prefetch off.
Thanks,
Prakhar Jawre
IIT Kanpur, India
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users