summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resource_pool.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-05-12 15:01:16 -0400
committerKorey Sewell <ksewell@umich.edu>2009-05-12 15:01:16 -0400
commit6c88730540da3ecfdf32ab798eb60e4a24935789 (patch)
treef3289908cdedf135dc290f7fdd26dd6bae0f9d9a /src/cpu/inorder/resource_pool.hh
parentdb2b72138052ad96d808d8286bd2598c96f96a31 (diff)
downloadgem5-6c88730540da3ecfdf32ab798eb60e4a24935789.tar.xz
inorder-resources: delete events
make sure unrecognized events in the resource pool are deleted and also delete resource events in destructor
Diffstat (limited to 'src/cpu/inorder/resource_pool.hh')
-rw-r--r--src/cpu/inorder/resource_pool.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/inorder/resource_pool.hh b/src/cpu/inorder/resource_pool.hh
index 6cc1f77e6..42a07390c 100644
--- a/src/cpu/inorder/resource_pool.hh
+++ b/src/cpu/inorder/resource_pool.hh
@@ -87,6 +87,14 @@ class ResourcePool {
/** Constructs a resource event. */
ResPoolEvent(ResourcePool *_resPool);
+ /** Constructs a resource event. */
+ ResPoolEvent(ResourcePool *_resPool,
+ InOrderCPU::CPUEventType e_type,
+ DynInstPtr _inst,
+ int stage_num,
+ InstSeqNum seq_num,
+ unsigned _tid);
+
/** Set Type of Event To Be Scheduled */
void setEvent(InOrderCPU::CPUEventType e_type,
DynInstPtr _inst,