ISA: Make the decode function part of the ISA's decoder.
[gem5.git] / src / dev / etherdevice.cc
index 5341c02c446076d52e1d52b9e3c5313ba910b552..59febcdc508d1e9ef3617aa5dcc3551954f05918 100644 (file)
@@ -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;
 }