diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-03-21 15:45:31 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-03-21 15:45:31 -0500 |
commit | 8654cfa427d7346d7164946b91ea768e1fd64310 (patch) | |
tree | 0b6d8029165e8c4316970cddc83e8fc33c6b79f4 /mem/request.hh | |
parent | 5c6835ae3fb398fe8aa83ac8b4c806dd6e800b44 (diff) | |
download | gem5-8654cfa427d7346d7164946b91ea768e1fd64310.tar.xz |
Make PioPort/DmaPort,DmaDevice/PioDevice compile.
Add another type to the PacketResult enum of Unknown
Seperate time into requsetTime and responseTime.
dev/io_device.cc:
dev/io_device.hh:
Make PioPort/DmaPort,DmaDevice/PioDevice compile.
mem/packet.hh:
Add another type to the PacketResult enum of Unknown (e.g. no state set yet)
mem/request.hh:
Seperate time into requsetTime and responseTime.
--HG--
extra : convert_revision : c6394cb838013296caea6492275252b8cae2882f
Diffstat (limited to 'mem/request.hh')
-rw-r--r-- | mem/request.hh | 6 |
1 files changed, 5 insertions, 1 deletions
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; |