base-stats,misc: Rename Stats namespace as statistics
As part of recent decisions regarding namespace naming conventions, all namespaces will be changed to snake case. ::Stats became ::statistics. "statistics" was chosen over "stats" to avoid generating conflicts with the already existing variables (there are way too many "stats" in the codebase), which would make this patch even more disturbing for the users. Change-Id: If877b12d7dac356f86e3b3d941bf7558a4fd8719 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45421 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Daniel Carvalho
parent
fa505f1c23
commit
98ac080ec4
@@ -91,18 +91,18 @@ class Root : public SimObject
|
||||
}
|
||||
|
||||
public: // Global statistics
|
||||
struct RootStats : public Stats::Group
|
||||
struct RootStats : public statistics::Group
|
||||
{
|
||||
void resetStats() override;
|
||||
|
||||
Stats::Formula simSeconds;
|
||||
Stats::Value simTicks;
|
||||
Stats::Value finalTick;
|
||||
Stats::Value simFreq;
|
||||
Stats::Value hostSeconds;
|
||||
statistics::Formula simSeconds;
|
||||
statistics::Value simTicks;
|
||||
statistics::Value finalTick;
|
||||
statistics::Value simFreq;
|
||||
statistics::Value hostSeconds;
|
||||
|
||||
Stats::Formula hostTickRate;
|
||||
Stats::Value hostMemory;
|
||||
statistics::Formula hostTickRate;
|
||||
statistics::Value hostMemory;
|
||||
|
||||
static RootStats instance;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user