You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a new cache replacement policy which I want to test with gem5. The problem is that this policy has to work for LLC not only for L1 or L2 and it requires PC and address it tries to fetch from the cache. After I inherited my new class from Base I overridden:
It seems like pkt contains both PC and the address fields but when I try to run gem5 I see that it does not call this specific member function, but it calls another one:
MyPolicy::touch(const std::shared_ptr& replacement_data) when it simulates LLC access.
I do need Packet data so because I need PC and an address that is accessed. Could you clarify, please?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have a new cache replacement policy which I want to test with gem5. The problem is that this policy has to work for LLC not only for L1 or L2 and it requires PC and address it tries to fetch from the cache. After I inherited my new class from Base I overridden:
MyPolicy::touch(const std::shared_ptr& replacement_data, const PacketPtr pkt)
It seems like pkt contains both PC and the address fields but when I try to run gem5 I see that it does not call this specific member function, but it calls another one:
MyPolicy::touch(const std::shared_ptr& replacement_data) when it simulates LLC access.
I do need Packet data so because I need PC and an address that is accessed. Could you clarify, please?
Beta Was this translation helpful? Give feedback.
All reactions