diff options
author | Korey Sewell <ksewell@umich.edu> | 2010-06-25 17:42:34 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2010-06-25 17:42:34 -0400 |
commit | 6bfd766f2c6c93cca3f79482bfddf7e6cdeb455e (patch) | |
tree | 615205f85b0bc87a4e6cf4ca57472a976a27c985 /src/cpu/inorder/cpu.cc | |
parent | 6697d416930a0464bea6ca211a1fdfa8a1e01135 (diff) | |
download | gem5-6bfd766f2c6c93cca3f79482bfddf7e6cdeb455e.tar.xz |
inorder: resource scheduling backend
replace priority queue with vector of lists(1 list per stage) and place inside a class
so that we have more control of when an instruction uses a particular schedule entry
...
also, this is the 1st step toward making the InOrderCPU fully parameterizable. See the
wiki for details on this process
Diffstat (limited to 'src/cpu/inorder/cpu.cc')
-rw-r--r-- | src/cpu/inorder/cpu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/inorder/cpu.cc b/src/cpu/inorder/cpu.cc index d36867439..a895fdb0e 100644 --- a/src/cpu/inorder/cpu.cc +++ b/src/cpu/inorder/cpu.cc @@ -1354,7 +1354,7 @@ InOrderCPU::cleanUpRemovedInsts() // Make Sure Resource Schedule Is Emptied Out ThePipeline::ResSchedule *inst_sched = &inst->resSched; while (!inst_sched->empty()) { - ThePipeline::ScheduleEntry* sch_entry = inst_sched->top(); + ScheduleEntry* sch_entry = inst_sched->top(); inst_sched->pop(); delete sch_entry; } |