X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fdev%2Fetherdevice.cc;h=59febcdc508d1e9ef3617aa5dcc3551954f05918;hb=eae1e97fb002b44a9d8c46df2da1ddc1d0156ce4;hp=5341c02c446076d52e1d52b9e3c5313ba910b552;hpb=1099a9838abcb158b47714c800a9666eb82c97ea;p=gem5.git 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; }