diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:37 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:37 -0400 |
commit | 479195d4cf5d52138a1dc3cf1e5ffe588c6e924f (patch) | |
tree | 4275cc240dc37de4bce3b66da93fc5ab7eababa1 /src/cpu/inorder/resource_pool.hh | |
parent | 71018f5e8b59c359065580a41a96f1a78a88dea9 (diff) | |
download | gem5-479195d4cf5d52138a1dc3cf1e5ffe588c6e924f.tar.xz |
inorder: priority for grad/squash events
define separate priority resource pool squash and graduate events
Diffstat (limited to 'src/cpu/inorder/resource_pool.hh')
-rw-r--r-- | src/cpu/inorder/resource_pool.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cpu/inorder/resource_pool.hh b/src/cpu/inorder/resource_pool.hh index 51eb41338..ba3d6fafb 100644 --- a/src/cpu/inorder/resource_pool.hh +++ b/src/cpu/inorder/resource_pool.hh @@ -68,7 +68,9 @@ class ResourcePool { }; enum ResPoolEventPri { - ResPool_Pri = InOrderCPU::InOrderCPU_Pri - 5 + ResPool_Pri = InOrderCPU::InOrderCPU_Pri - 5, + ResGrad_Pri, + ResSquash_Pri }; class ResPoolEvent : public Event @@ -95,7 +97,8 @@ class ResourcePool { DynInstPtr _inst, int stage_num, InstSeqNum seq_num, - ThreadID _tid); + ThreadID _tid, + ResPoolEventPri res_pri = ResPool_Pri); /** Set Type of Event To Be Scheduled */ void setEvent(InOrderCPU::CPUEventType e_type, |