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:
committed by
Daniel Carvalho
parent
65317b6fc9
commit
4f480fc6fc
@@ -53,7 +53,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -91,7 +91,6 @@ namespace gem5
|
||||
{
|
||||
|
||||
/* A namespace for all of the Statistics */
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -74,7 +74,6 @@ namespace gem5
|
||||
|
||||
#define ADD_STAT(n, ...) n(this, #n, __VA_ARGS__)
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -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. */
|
||||
|
||||
@@ -59,7 +59,6 @@ bool emptyStrings(const T &labels)
|
||||
}
|
||||
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -67,7 +67,6 @@ constexpr auto Nan = std::numeric_limits<float>::quiet_NaN();
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -75,7 +75,6 @@ namespace gem5
|
||||
UNIT_UNSPECIFIED, statistics::units::Unspecified::get(), \
|
||||
"Use statistics::units::Unspecified::get()")
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -83,7 +83,6 @@ cast_stat_info(const statistics::Info *info)
|
||||
#undef TRY_CAST
|
||||
}
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
class Info;
|
||||
|
||||
@@ -57,7 +57,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
namespace gem5
|
||||
{
|
||||
|
||||
GEM5_DEPRECATED_NAMESPACE(Stats, statistics);
|
||||
namespace statistics
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user