diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-05-21 13:39:20 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-05-21 13:39:20 -0400 |
commit | 62d756f253f8ced44d8a054fa229da4b3cce896a (patch) | |
tree | 986dde28ed0d51113d72ad56fd1d55571a09e55d /dev | |
parent | f5c7b1358cf0b27c27c10eae42e09949613e24a9 (diff) | |
download | gem5-62d756f253f8ced44d8a054fa229da4b3cce896a.tar.xz |
rename namespace Statistics to Stats
--HG--
extra : convert_revision : 28f1703f8d7d8cf33fb952ae450f66bdba860fb7
Diffstat (limited to 'dev')
-rw-r--r-- | dev/ns_gige.cc | 4 | ||||
-rw-r--r-- | dev/ns_gige.hh | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc index cae90a3b4..f5cbdbb9a 100644 --- a/dev/ns_gige.cc +++ b/dev/ns_gige.cc @@ -212,8 +212,8 @@ EtherDev::regStats() .prereq(rxBytes) ; - txBandwidth = txBytes * Statistics::constant(8) / simSeconds; - rxBandwidth = rxBytes * Statistics::constant(8) / simSeconds; + txBandwidth = txBytes * Stats::constant(8) / simSeconds; + rxBandwidth = rxBytes * Stats::constant(8) / simSeconds; txPacketRate = txPackets / simSeconds; rxPacketRate = rxPackets / simSeconds; } diff --git a/dev/ns_gige.hh b/dev/ns_gige.hh index cb6550720..ccc7f8e14 100644 --- a/dev/ns_gige.hh +++ b/dev/ns_gige.hh @@ -369,14 +369,14 @@ class EtherDev : public PciDev void regStats(); private: - Statistics::Scalar<> txBytes; - Statistics::Scalar<> rxBytes; - Statistics::Scalar<> txPackets; - Statistics::Scalar<> rxPackets; - Statistics::Formula txBandwidth; - Statistics::Formula rxBandwidth; - Statistics::Formula txPacketRate; - Statistics::Formula rxPacketRate; + Stats::Scalar<> txBytes; + Stats::Scalar<> rxBytes; + Stats::Scalar<> txPackets; + Stats::Scalar<> rxPackets; + Stats::Formula txBandwidth; + Stats::Formula rxBandwidth; + Stats::Formula txPacketRate; + Stats::Formula rxPacketRate; private: Tick pioLatency; |