diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-01-31 18:30:48 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-01-31 18:30:48 -0500 |
commit | 9357e353fc976a409fb0cb3a875b402f452577f7 (patch) | |
tree | 96c171ac4ef8dbbf7d5def7c11ff29d83f02a25b /src/cpu/inorder/resource.hh | |
parent | be6724f7e7a1c1d2f305c814cf3aa23d54a676e2 (diff) | |
download | gem5-9357e353fc976a409fb0cb3a875b402f452577f7.tar.xz |
inorder: inst count mgmt
Diffstat (limited to 'src/cpu/inorder/resource.hh')
-rw-r--r-- | src/cpu/inorder/resource.hh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cpu/inorder/resource.hh b/src/cpu/inorder/resource.hh index 383340df2..b9650df18 100644 --- a/src/cpu/inorder/resource.hh +++ b/src/cpu/inorder/resource.hh @@ -331,6 +331,8 @@ class ResourceRequest */ void done(bool completed = true); + short stagePasses; + ///////////////////////////////////////////// // // GET RESOURCE REQUEST IDENTIFICATION / INFO @@ -339,8 +341,11 @@ class ResourceRequest /** Get Resource Index */ int getResIdx() { return resIdx; } + /** Get Slot Number */ int getSlot() { return slotNum; } + int getComplSlot() { return complSlotNum; } + bool hasSlot() { return slotNum >= 0; } /** Get Stage Number */ int getStageNum() { return stageNum; } @@ -363,6 +368,9 @@ class ResourceRequest /** Instruction being used */ DynInstPtr inst; + /** Not guaranteed to be set, used for debugging */ + InstSeqNum seqNum; + /** Fault Associated With This Resource Request */ Fault fault; @@ -396,7 +404,8 @@ class ResourceRequest int stageNum; int resIdx; int slotNum; - + int complSlotNum; + /** Resource Request Status */ bool completed; bool squashed; |