From 4d88978913c57e0cd10751d31d7f5b95c1e00170 Mon Sep 17 00:00:00 2001 From: Curtis Dunham Date: Tue, 23 Dec 2014 09:31:18 -0500 Subject: 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 --- src/dev/dma_device.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dev/dma_device.hh') 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; } -- cgit v1.2.3