On 9/8/2023 2:55 AM, Aritra Bagchi via gem5-users wrote:
Hi all,

Can anyone indicate how to extract performance counters such as the number of DRAM read operations, the number of DRAM write operations, the number of times a page miss occurs, etc.?

Inside src/mem/mem_ctrl.cc, MemCtrl::recvTimingReq( ) method, there are two methods for inserting new read and write operations into their respective queues, namely addToReadQueue( ) and addToWriteQueue( ). Can the #reads and #writes can be obtained from here? And what about # page hits/misses? Any help is appreciated.

The way things generally work in gem5 is that you get a stats dump at
the end of a run.  There are also ways to request such dumps more frequently.
You get a lot of details about accesses to caches and memories.  Are you
looking at stats dumps and not seeing what you hope for?

Best - Eliot Moss
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to