cpu: Remove units from stats description

A recent change https://gem5-review.googlesource.com/c/public/gem5/+/40622
allows units to be shown in stats dump; the units in stats
descriptions are nolonger necessary. This change removes units
from stats descriptions. However, for units that are multiples
of a supported unit (e.g. MegaBytes), the units

Change-Id: Ib63ea44e757f755f761b20b40e045bc37c90baff
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40735
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabe.black@gmail.com>
This commit is contained in:
Hoa Nguyen
2021-02-04 23:32:55 -08:00
parent 26d2731e5f
commit 0367539e9f

View File

@@ -353,9 +353,9 @@ BaseTrafficGen::StatGroup::StatGroup(Stats::Group *parent)
"Avg latency of write requests",
totalWriteLatency / totalWrites),
ADD_STAT(readBW, UNIT_RATE(Stats::Units::Byte, Stats::Units::Second),
"Read bandwidth in bytes/s", bytesRead / simSeconds),
"Read bandwidth", bytesRead / simSeconds),
ADD_STAT(writeBW, UNIT_RATE(Stats::Units::Byte, Stats::Units::Second),
"Write bandwidth in bytes/s", bytesWritten / simSeconds)
"Write bandwidth", bytesWritten / simSeconds)
{
}