Hoa Nguyen has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/38676 )

Change subject: cpu: Add units to cpu stats
......................................................................

cpu: Add units to cpu stats

Change-Id: Iff64e58055718dc2c212bd5e2ffb80b221ad0759
Signed-off-by: Hoa Nguyen <hoangu...@ucdavis.edu>
---
M src/cpu/base.cc
1 file changed, 6 insertions(+), 4 deletions(-)



diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index 0c998be..4a632b6 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -734,12 +734,14 @@

 BaseCPU::GlobalStats::GlobalStats(::Stats::Group *parent)
     : ::Stats::Group(parent),
-    simInsts(this, "sim_insts", "Number of instructions simulated"),
- simOps(this, "sim_ops", "Number of ops (including micro ops) simulated"),
+    simInsts(this, "sim_insts", "Number of instructions simulated",
+             "insts"),
+ simOps(this, "sim_ops", "Number of ops (including micro ops) simulated",
+           "ops"),
     hostInstRate(this, "host_inst_rate",
-                 "Simulator instruction rate (inst/s)"),
+                 "Simulator instruction rate", "inst/s"),
     hostOpRate(this, "host_op_rate",
-               "Simulator op (including micro ops) rate (op/s)")
+               "Simulator op (including micro ops) rate", "op/s")
 {
     simInsts
         .functor(BaseCPU::numSimulatedInsts)

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/38676
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: Iff64e58055718dc2c212bd5e2ffb80b221ad0759
Gerrit-Change-Number: 38676
Gerrit-PatchSet: 1
Gerrit-Owner: Hoa Nguyen <hoangu...@ucdavis.edu>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to