summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/cpu.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-03-04 13:16:49 -0500
committerKorey Sewell <ksewell@umich.edu>2009-03-04 13:16:49 -0500
commit846f953c2bc8f9922afe62c30e60f9b5b531d09e (patch)
treeb9c325f5d90232b1b6def93e212344698df49b67 /src/cpu/inorder/cpu.cc
parente4aa4ca40c0a5ab5946914cc997e0a9bd288c861 (diff)
downloadgem5-846f953c2bc8f9922afe62c30e60f9b5b531d09e.tar.xz
Give TimeBuffer an ID that can be set. Necessary because InOrder uses generic stages so w/o an ID there is no way to differentiate buffers when debugging
Diffstat (limited to 'src/cpu/inorder/cpu.cc')
-rw-r--r--src/cpu/inorder/cpu.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cpu/inorder/cpu.cc b/src/cpu/inorder/cpu.cc
index 94a6efce9..1836989af 100644
--- a/src/cpu/inorder/cpu.cc
+++ b/src/cpu/inorder/cpu.cc
@@ -230,11 +230,9 @@ InOrderCPU::InOrderCPU(Params *params)
}
// Initialize TimeBuffer Stage Queues
- // For now just have these time buffers be pretty big.
- // @note: This could be statically allocated but changes
- // would have to be made to the standard time buffer class.
for (int stNum=0; stNum < NumStages - 1; stNum++) {
stageQueue[stNum] = new StageQueue(NumStages, NumStages);
+ stageQueue[stNum]->id(stNum);
}