diff options
Diffstat (limited to 'src/cpu/inorder/resource_pool.hh')
-rw-r--r-- | src/cpu/inorder/resource_pool.hh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/cpu/inorder/resource_pool.hh b/src/cpu/inorder/resource_pool.hh index ba3d6fafb..e892d750a 100644 --- a/src/cpu/inorder/resource_pool.hh +++ b/src/cpu/inorder/resource_pool.hh @@ -175,13 +175,13 @@ class ResourcePool { InstSeqNum done_seq_num, ThreadID tid); /** Activate Thread in all resources */ - void activateAll(ThreadID tid); + void activateThread(ThreadID tid); /** De-Activate Thread in all resources */ - void deactivateAll(ThreadID tid); + void deactivateThread(ThreadID tid); - /** De-Activate Thread in all resources */ - void suspendAll(ThreadID tid); + /** Suspend Thread in all resources */ + void suspendThread(ThreadID tid); /** Broadcast Context Switch Update to all resources */ void updateAfterContextSwitch(DynInstPtr inst, ThreadID tid); @@ -218,8 +218,11 @@ class ResourcePool { private: std::vector<Resource *> resources; + /** Resources that interface with memory objects */ std::vector<int> memObjects; + /** Resources that need to be updated on an inst. graduation */ + std::vector<int> gradObjects; }; #endif //__CPU_INORDER_RESOURCE_HH__ |