diff options
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/net/etherdevice.cc | 2 | ||||
-rw-r--r-- | src/dev/pci/copy_engine.cc | 2 | ||||
-rw-r--r-- | src/dev/storage/ide_disk.cc | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/dev/net/etherdevice.cc b/src/dev/net/etherdevice.cc index 59849502c..aeaedf795 100644 --- a/src/dev/net/etherdevice.cc +++ b/src/dev/net/etherdevice.cc @@ -36,6 +36,8 @@ void EtherDevice::regStats() { + PciDevice::regStats(); + txBytes .name(name() + ".txBytes") .desc("Bytes Transmitted") diff --git a/src/dev/pci/copy_engine.cc b/src/dev/pci/copy_engine.cc index fba96a110..326c51d11 100644 --- a/src/dev/pci/copy_engine.cc +++ b/src/dev/pci/copy_engine.cc @@ -425,6 +425,8 @@ CopyEngine::CopyEngineChannel::channelWrite(Packet *pkt, Addr daddr, int size) void CopyEngine::regStats() { + PciDevice::regStats(); + using namespace Stats; bytesCopied .init(regs.chanCount) diff --git a/src/dev/storage/ide_disk.cc b/src/dev/storage/ide_disk.cc index 4eefdbbd7..e4b4e625a 100644 --- a/src/dev/storage/ide_disk.cc +++ b/src/dev/storage/ide_disk.cc @@ -392,6 +392,8 @@ IdeDisk::doDmaDataRead() void IdeDisk::regStats() { + SimObject::regStats(); + using namespace Stats; dmaReadFullPages .name(name() + ".dma_read_full_pages") |