sim: Rename the root stats group to RootStats
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Mon, 11 Jan 2021 10:29:40 +0000 (02:29 -0800)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Fri, 15 Jan 2021 02:02:26 +0000 (02:02 +0000)
commitfb952a124aac92aab520cb485f1295cbe211d271
tree5b8229c619ba007a40e68884d7b70f6f8d325c24
parente19fbe431af4aeae0d2f38b1ccb4b9156775e124
sim: Rename the root stats group to RootStats

Currently, the name of the stats group of thr Root object is
Stats, which is likely to be confused with the Stats namespace.

This commit renames the struct to RootStats. This allows the
Stats namespace to be expressed as `Stats::`, which is
consistent with how the namespace is accessed in other part of
gem5.

Change-Id: Ieb425c3df1f5c0d5f11b1a467a36b2e0e07b2771
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38915
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/root.cc
src/sim/root.hh