summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/resource_sked.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/inorder/resource_sked.hh')
-rw-r--r--src/cpu/inorder/resource_sked.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/inorder/resource_sked.hh b/src/cpu/inorder/resource_sked.hh
index 6338e8e9b..c44c2d3fa 100644
--- a/src/cpu/inorder/resource_sked.hh
+++ b/src/cpu/inorder/resource_sked.hh
@@ -111,6 +111,12 @@ class ResourceSked {
/** Ending Entry of this schedule */
SkedIt end();
+ /** Ending Entry of a specified stage */
+ SkedIt end(int stage_num);
+
+ /** Find a schedule entry based on stage and command */
+ SkedIt find(int stage_num, int cmd);
+
/** What is the next task for this instruction schedule? */
ScheduleEntry* top();