summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-06-27 05:49:49 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-06-27 05:49:49 -0400
commit368f50a0a1caaddf84ef35a5597f5eee75495cbb (patch)
treeffc012847a23ee2e49c2c45313ec4d4f4cc3ead3 /src/mem/cache/cache.hh
parent718fb407098ed8751a71eda7f2ce9b24ccd1d24b (diff)
downloadgem5-368f50a0a1caaddf84ef35a5597f5eee75495cbb.tar.xz
mem: Cycles converted to Ticks in atomic cache accesses
This patch fixes an outstanding issue in the cache timing calculations where an atomic access returned a time in Cycles, but the port forwarded it on as if it was in Ticks. A separate patch will update the regression stats.
Diffstat (limited to 'src/mem/cache/cache.hh')
-rw-r--r--src/mem/cache/cache.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mem/cache/cache.hh b/src/mem/cache/cache.hh
index d27dfc5e2..de98398d6 100644
--- a/src/mem/cache/cache.hh
+++ b/src/mem/cache/cache.hh
@@ -263,17 +263,17 @@ class Cache : public BaseCache
/**
* Performs the access specified by the request.
* @param pkt The request to perform.
- * @return The number of cycles required for the access.
+ * @return The number of ticks required for the access.
*/
- Cycles recvAtomic(PacketPtr pkt);
+ Tick recvAtomic(PacketPtr pkt);
/**
* Snoop for the provided request in the cache and return the estimated
- * time of completion.
+ * time taken.
* @param pkt The memory request to snoop
- * @return The number of cycles required for the snoop.
+ * @return The number of ticks required for the snoop.
*/
- Cycles recvAtomicSnoop(PacketPtr pkt);
+ Tick recvAtomicSnoop(PacketPtr pkt);
/**
* Performs the access specified by the request.