summaryrefslogtreecommitdiff
path: root/mem
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-03-21 15:45:40 -0500
committerAli Saidi <saidi@eecs.umich.edu>2006-03-21 15:45:40 -0500
commita70ce910f3303efe934c564817cc421369f51b36 (patch)
tree7b1dfddd980ed3e7715a65fd626456906f6d7018 /mem
parentb855ea6968559f1fac10b762e170ff9adabe4f9f (diff)
parent8654cfa427d7346d7164946b91ea768e1fd64310 (diff)
downloadgem5-a70ce910f3303efe934c564817cc421369f51b36.tar.xz
Merge zizzer:/bk/newmem
into zeep.eecs.umich.edu:/z/saidi/work/m5.newmem --HG-- extra : convert_revision : 45dba22ecbdfc8e1bb0df1efd06a37f40d56b67f
Diffstat (limited to 'mem')
-rw-r--r--mem/packet.hh3
-rw-r--r--mem/request.hh6
2 files changed, 7 insertions, 2 deletions
diff --git a/mem/packet.hh b/mem/packet.hh
index 260fc60f7..57702dc97 100644
--- a/mem/packet.hh
+++ b/mem/packet.hh
@@ -54,7 +54,8 @@ enum Command
enum PacketResult
{
Success,
- BadAddress
+ BadAddress,
+ Unknown
};
class SenderState{};
diff --git a/mem/request.hh b/mem/request.hh
index 5e2275741..1c65057a0 100644
--- a/mem/request.hh
+++ b/mem/request.hh
@@ -73,7 +73,11 @@ class Request
int size;
/** The time this request was started. Used to calculate latencies. */
- Tick time;
+ Tick requestTime;
+
+ /** The time this request was responded to in the memory hierachy. Used by
+ * deviced to inform ports how long a request should be delayed. */
+ Tick responseTime;
/** Destination address if this is a block copy. */
Addr copyDest;