Add counter for LL writebacks (in the ST_MISS field).
This commit is contained in:
@@ -51,7 +51,7 @@ typedef struct {
|
||||
Bit#(8) evt_LD_MISS;
|
||||
Bit#(8) evt_LD_MISS_LAT;
|
||||
Bit#(8) evt_ST;
|
||||
Bit#(8) evt_ST_MISS; // Unimplemented
|
||||
Bit#(8) evt_ST_MISS;
|
||||
Bit#(8) evt_ST_MISS_LAT; // Unimplemented
|
||||
Bit#(8) evt_AMO;
|
||||
Bit#(8) evt_AMO_MISS;
|
||||
|
||||
@@ -642,6 +642,11 @@ endfunction
|
||||
toMQ.enq(msg);
|
||||
// don't deq info, do ld next time
|
||||
doLdAfterReplace <= True;
|
||||
`ifdef PERFORMANCE_MONITORING
|
||||
EventsCache events = unpack (0);
|
||||
events.evt_ST_MISS = 1;
|
||||
perf_events[0] <= events;
|
||||
`endif
|
||||
if (verbose)
|
||||
$display("%t LL %m sendToM: rep then ld: rep: ", $time, fshow(msg));
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user