projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Yet another merge with the main repository.
[gem5.git]
/
src
/
cpu
/
inorder
/
resource_pool.hh
diff --git
a/src/cpu/inorder/resource_pool.hh
b/src/cpu/inorder/resource_pool.hh
index ba3d6fafb4fc7ce9f9862f165af50720d56c4dc4..e892d750af7c1b74d77e7c18f088772c0dbe9d6b 100644
(file)
--- 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 */
InstSeqNum done_seq_num, ThreadID tid);
/** Activate Thread in all resources */
- void activate
All
(ThreadID tid);
+ void activate
Thread
(ThreadID tid);
/** De-Activate Thread in all resources */
/** De-Activate Thread in all resources */
- void deactivate
All
(ThreadID tid);
+ void deactivate
Thread
(ThreadID tid);
- /**
De-Activate
Thread in all resources */
- void suspend
All
(ThreadID tid);
+ /**
Suspend
Thread in all resources */
+ void suspend
Thread
(ThreadID tid);
/** Broadcast Context Switch Update to all resources */
void updateAfterContextSwitch(DynInstPtr inst, 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;
private:
std::vector<Resource *> resources;
+ /** Resources that interface with memory objects */
std::vector<int> memObjects;
std::vector<int> memObjects;
+ /** Resources that need to be updated on an inst. graduation */
+ std::vector<int> gradObjects;
};
#endif //__CPU_INORDER_RESOURCE_HH__
};
#endif //__CPU_INORDER_RESOURCE_HH__