diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-12-23 09:31:18 -0500 |
---|---|---|
committer | Curtis Dunham <Curtis.Dunham@arm.com> | 2014-12-23 09:31:18 -0500 |
commit | 4d88978913c57e0cd10751d31d7f5b95c1e00170 (patch) | |
tree | 900bed4add4e20e374fdc1381a16e0e831d80792 /src/dev/dma_device.hh | |
parent | 59460b91f35efe24a99424c0018d2f9c002e50c8 (diff) | |
download | gem5-4d88978913c57e0cd10751d31d7f5b95c1e00170.tar.xz |
arm: Add stats to table walker
This patch adds table walker stats for:
- Walk events
- Instruction vs Data
- Page size histogram
- Wait time and service time histograms
- Pending requests histogram (per cycle) - measures dist. of L
(p(1..) = how often busy, p(0) = how often idle)
- Squashes, before starting and after completion
Diffstat (limited to 'src/dev/dma_device.hh')
-rw-r--r-- | src/dev/dma_device.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/dma_device.hh b/src/dev/dma_device.hh index d1245b977..6df4a287d 100644 --- a/src/dev/dma_device.hh +++ b/src/dev/dma_device.hh @@ -142,8 +142,8 @@ class DmaPort : public MasterPort DmaPort(MemObject *dev, System *s); - void dmaAction(Packet::Command cmd, Addr addr, int size, Event *event, - uint8_t *data, Tick delay, Request::Flags flag = 0); + RequestPtr dmaAction(Packet::Command cmd, Addr addr, int size, Event *event, + uint8_t *data, Tick delay, Request::Flags flag = 0); bool dmaPending() const { return pendingCount > 0; } |