base: Remove the Stats namespace

This namespace has gone through the deprecation period
and can now be removed.

Change-Id: I80f25af68e03fff3df8316cb4d1d2669687d0fe4
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67359
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Daniel R. Carvalho
2023-01-14 09:51:32 -03:00
committed by Daniel Carvalho
parent 65317b6fc9
commit 4f480fc6fc
22 changed files with 3 additions and 24 deletions

View File

@@ -53,7 +53,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -91,7 +91,6 @@ namespace gem5
{
/* A namespace for all of the Statistics */
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -47,7 +47,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -74,7 +74,6 @@ namespace gem5
#define ADD_STAT(n, ...) n(this, #n, __VA_ARGS__)
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -255,10 +255,10 @@ TEST(StatsGroupTest, ConstructTwoLevelsUnbalancedTree)
ASSERT_EQ(node2_2.getStatGroups().size(), 0);
}
class DummyInfo : public Stats::Info
class DummyInfo : public statistics::Info
{
public:
using Stats::Info::Info;
using statistics::Info::Info;
int value = 0;
@@ -266,7 +266,7 @@ class DummyInfo : public Stats::Info
void prepare() override {}
void reset() override { value = 0; }
bool zero() const override { return false; }
void visit(Stats::Output &visitor) override {}
void visit(statistics::Output &visitor) override {}
};
/** Test adding stats to a group. */

View File

@@ -59,7 +59,6 @@ bool emptyStrings(const T &labels)
}
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -53,7 +53,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -52,7 +52,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -43,7 +43,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -49,7 +49,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -46,7 +46,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -42,7 +42,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -67,7 +67,6 @@ constexpr auto Nan = std::numeric_limits<float>::quiet_NaN();
} // anonymous namespace
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -53,7 +53,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -39,7 +39,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -75,7 +75,6 @@ namespace gem5
UNIT_UNSPECIFIED, statistics::units::Unspecified::get(), \
"Use statistics::units::Unspecified::get()")
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -83,7 +83,6 @@ cast_stat_info(const statistics::Info *info)
#undef TRY_CAST
}
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -47,7 +47,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{
class Info;

View File

@@ -57,7 +57,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -48,7 +48,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -42,7 +42,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{

View File

@@ -47,7 +47,6 @@
namespace gem5
{
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
namespace statistics
{