summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/cpu.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-01-31 18:26:47 -0500
committerKorey Sewell <ksewell@umich.edu>2010-01-31 18:26:47 -0500
commit96b493d3159f7e94b8e53edbe562e28076f2af95 (patch)
tree9883633386e989fb52742dced10db44bece80020 /src/cpu/inorder/cpu.hh
parentd9eaa2fe2149528e109b8b32a00dd4fa72d8ec4f (diff)
downloadgem5-96b493d3159f7e94b8e53edbe562e28076f2af95.tar.xz
inorder: ready/suspend status fns
update/add in the use of isThreadReady & isThreadSuspended functions.Check in activateThread what list a thread is on so it can be managed accordingly.
Diffstat (limited to 'src/cpu/inorder/cpu.hh')
-rw-r--r--src/cpu/inorder/cpu.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/inorder/cpu.hh b/src/cpu/inorder/cpu.hh
index c31481421..f4f7cb390 100644
--- a/src/cpu/inorder/cpu.hh
+++ b/src/cpu/inorder/cpu.hh
@@ -588,6 +588,7 @@ class InOrderCPU : public BaseCPU
/** Thread Status Functions */
bool isThreadActive(ThreadID tid);
+ bool isThreadReady(ThreadID tid);
bool isThreadSuspended(ThreadID tid);
private: