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:
Daniel R. Carvalho
2021-05-06 20:00:51 -03:00
committed by Daniel Carvalho
parent fa505f1c23
commit 98ac080ec4
228 changed files with 3078 additions and 2970 deletions

View File

@@ -52,78 +52,78 @@ class EtherDevice : public PciDevice
{}
protected:
struct EtherDeviceStats : public Stats::Group
struct EtherDeviceStats : public statistics::Group
{
EtherDeviceStats(Stats::Group *parent);
EtherDeviceStats(statistics::Group *parent);
Stats::Scalar postedInterrupts;
statistics::Scalar postedInterrupts;
Stats::Scalar txBytes;
Stats::Scalar rxBytes;
statistics::Scalar txBytes;
statistics::Scalar rxBytes;
Stats::Scalar txPackets;
Stats::Scalar rxPackets;
statistics::Scalar txPackets;
statistics::Scalar rxPackets;
Stats::Formula txBandwidth;
Stats::Formula rxBandwidth;
statistics::Formula txBandwidth;
statistics::Formula rxBandwidth;
Stats::Scalar txIpChecksums;
Stats::Scalar rxIpChecksums;
statistics::Scalar txIpChecksums;
statistics::Scalar rxIpChecksums;
Stats::Scalar txTcpChecksums;
Stats::Scalar rxTcpChecksums;
statistics::Scalar txTcpChecksums;
statistics::Scalar rxTcpChecksums;
Stats::Scalar txUdpChecksums;
Stats::Scalar rxUdpChecksums;
statistics::Scalar txUdpChecksums;
statistics::Scalar rxUdpChecksums;
Stats::Scalar descDmaReads;
Stats::Scalar descDmaWrites;
statistics::Scalar descDmaReads;
statistics::Scalar descDmaWrites;
Stats::Scalar descDmaRdBytes;
Stats::Scalar descDmaWrBytes;
statistics::Scalar descDmaRdBytes;
statistics::Scalar descDmaWrBytes;
Stats::Formula totBandwidth;
Stats::Formula totPackets;
Stats::Formula totBytes;
Stats::Formula totPacketRate;
statistics::Formula totBandwidth;
statistics::Formula totPackets;
statistics::Formula totBytes;
statistics::Formula totPacketRate;
Stats::Formula txPacketRate;
Stats::Formula rxPacketRate;
statistics::Formula txPacketRate;
statistics::Formula rxPacketRate;
Stats::Scalar postedSwi;
Stats::Scalar totalSwi;
Stats::Formula coalescedSwi;
statistics::Scalar postedSwi;
statistics::Scalar totalSwi;
statistics::Formula coalescedSwi;
Stats::Scalar postedRxIdle;
Stats::Scalar totalRxIdle;
Stats::Formula coalescedRxIdle;
statistics::Scalar postedRxIdle;
statistics::Scalar totalRxIdle;
statistics::Formula coalescedRxIdle;
Stats::Scalar postedRxOk;
Stats::Scalar totalRxOk;
Stats::Formula coalescedRxOk;
statistics::Scalar postedRxOk;
statistics::Scalar totalRxOk;
statistics::Formula coalescedRxOk;
Stats::Scalar postedRxDesc;
Stats::Scalar totalRxDesc;
Stats::Formula coalescedRxDesc;
statistics::Scalar postedRxDesc;
statistics::Scalar totalRxDesc;
statistics::Formula coalescedRxDesc;
Stats::Scalar postedTxOk;
Stats::Scalar totalTxOk;
Stats::Formula coalescedTxOk;
statistics::Scalar postedTxOk;
statistics::Scalar totalTxOk;
statistics::Formula coalescedTxOk;
Stats::Scalar postedTxIdle;
Stats::Scalar totalTxIdle;
Stats::Formula coalescedTxIdle;
statistics::Scalar postedTxIdle;
statistics::Scalar totalTxIdle;
statistics::Formula coalescedTxIdle;
Stats::Scalar postedTxDesc;
Stats::Scalar totalTxDesc;
Stats::Formula coalescedTxDesc;
statistics::Scalar postedTxDesc;
statistics::Scalar totalTxDesc;
statistics::Formula coalescedTxDesc;
Stats::Scalar postedRxOrn;
Stats::Scalar totalRxOrn;
Stats::Formula coalescedRxOrn;
statistics::Scalar postedRxOrn;
statistics::Scalar totalRxOrn;
statistics::Formula coalescedRxOrn;
Stats::Formula coalescedTotal;
Stats::Scalar droppedPackets;
statistics::Formula coalescedTotal;
statistics::Scalar droppedPackets;
} etherDeviceStats;
};