From ca89eba79ebe0adc9cea7656c288e0381754171a Mon Sep 17 00:00:00 2001 From: Matt Horsnell Date: Fri, 24 Jan 2014 15:29:30 -0600 Subject: mem: track per-request latencies and access depths in the cache hierarchy Add some values and methods to the request object to track the translation and access latency for a request and which level of the cache hierarchy responded to the request. --- src/cpu/translation.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cpu/translation.hh') diff --git a/src/cpu/translation.hh b/src/cpu/translation.hh index 90fffa03d..c05cc86a0 100644 --- a/src/cpu/translation.hh +++ b/src/cpu/translation.hh @@ -256,6 +256,7 @@ class DataTranslation : public BaseTLB::Translation assert(mode == state->mode); if (state->finish(fault, index)) { xc->finishTranslation(state); + req->setTranslateLatency(); } delete this; } -- cgit v1.2.3