diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2008-11-04 11:35:42 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2008-11-04 11:35:42 -0500 |
commit | dd99ff23c6a71f7173014b5008d0cf12b7ef223a (patch) | |
tree | 01ce6020c898958712699adffe3a1a5a5c9e058d /src/cpu/checker | |
parent | d857faf073895dcfde97141bd6346fe5d4317f8e (diff) | |
download | gem5-dd99ff23c6a71f7173014b5008d0cf12b7ef223a.tar.xz |
get rid of all instances of readTid() and getThreadNum(). Unify and eliminate
redundancies with threadId() as their replacement.
Diffstat (limited to 'src/cpu/checker')
-rw-r--r-- | src/cpu/checker/thread_context.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/checker/thread_context.hh b/src/cpu/checker/thread_context.hh index a74de20b9..524e87cd4 100644 --- a/src/cpu/checker/thread_context.hh +++ b/src/cpu/checker/thread_context.hh @@ -153,7 +153,7 @@ class CheckerThreadContext : public ThreadContext void profileSample() { return actualTC->profileSample(); } #endif - int getThreadNum() { return actualTC->getThreadNum(); } + int threadId() { return actualTC->threadId(); } // @todo: Do I need this? MachInst getInst() { return actualTC->getInst(); } |