summaryrefslogtreecommitdiff
path: root/src/dev/etherdevice.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/etherdevice.cc')
-rw-r--r--src/dev/etherdevice.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/etherdevice.cc b/src/dev/etherdevice.cc
index 5341c02c4..59febcdc5 100644
--- a/src/dev/etherdevice.cc
+++ b/src/dev/etherdevice.cc
@@ -119,7 +119,7 @@ EtherDevice::regStats()
.precision(0)
;
- descDmaWrBytes
+ descDmaWrBytes
.name(name() + ".descDmaWriteBytes")
.desc("number of descriptor bytes write w/ DMA")
.precision(0)
@@ -364,4 +364,5 @@ EtherDevice::regStats()
txPacketRate = txPackets / simSeconds;
rxPacketRate = rxPackets / simSeconds;
+ totPacketRate = totPackets / simSeconds;
}