cpu,mem: Converting stats to supported units
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Tue, 9 Feb 2021 01:24:55 +0000 (17:24 -0800)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Wed, 10 Feb 2021 09:03:09 +0000 (09:03 +0000)
commit1f1decd765cc184ee84baff709b216a2a387c3ae
tree9ceeba4d17720bd62f0e7d1db2372d1c234721ea
parent14732c4f970cc631e5d57bd945ce7c47f4f0185b
cpu,mem: Converting stats to supported units

There are several stats having unit being a multiple of supported
units. This change makes the following conversions:
  * MiB/s -> bytes/s
  * percentage -> ratio

Change-Id: I9832796e87698daa7f87f91fa39ce40bbf92e737
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41013
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
src/cpu/o3/fetch_impl.hh
src/cpu/pred/bpred_unit.cc
src/cpu/pred/bpred_unit.hh
src/mem/mem_ctrl.cc
src/mem/xbar.cc