Jason Lowe-Power has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/52503 )
Change subject: mem: Initialize all stats in MemInterface
......................................................................
mem: Initialize all stats in MemInterface
Change-Id: I1ee9ca14127abb7311ee8282b3fef1051277592c
Signed-off-by: Jason Lowe-Power <[email protected]>
---
M src/mem/mem_interface.cc
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/mem/mem_interface.cc b/src/mem/mem_interface.cc
index a3e5963..f8cb01a 100644
--- a/src/mem/mem_interface.cc
+++ b/src/mem/mem_interface.cc
@@ -1893,6 +1893,12 @@
ADD_STAT(bytesPerActivate, statistics::units::Byte::get(),
"Bytes accessed per row activation"),
+
+ ADD_STAT(bytesRead, statistics::units::Byte::get(),
+ "Total bytes read"),
+ ADD_STAT(bytesWritten, statistics::units::Byte::get(),
+ "Total bytes written"),
+
ADD_STAT(avgRdBW, statistics::units::Rate<
statistics::units::Byte, statistics::units::Second>::get(),
"Average DRAM read bandwidth in MiBytes/s"),
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/52503
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I1ee9ca14127abb7311ee8282b3fef1051277592c
Gerrit-Change-Number: 52503
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Lowe-Power <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s