diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-03-09 09:39:07 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-03-09 09:39:07 -0500 |
commit | 61edd5ac97147ec4510fee8d68b2bc1780cbd5d0 (patch) | |
tree | 04dbd9cd55bba95ce8d36a7c9c8435f948d5611e /src/cpu/o3/commit.hh | |
parent | f69a74fda63860c795e22c5dcd739a559cf95b5d (diff) | |
download | gem5-61edd5ac97147ec4510fee8d68b2bc1780cbd5d0.tar.xz |
cpu: o3: remove member variable squashCounter
The variable is used in only one place and a whole new function setNextStatus()
has been defined just to compute the value of the variable. Instead of calling
the function, the value is now computed in the loop that preceded the function
call.
Diffstat (limited to 'src/cpu/o3/commit.hh')
-rw-r--r-- | src/cpu/o3/commit.hh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cpu/o3/commit.hh b/src/cpu/o3/commit.hh index 93c145d5b..12d04a1c2 100644 --- a/src/cpu/o3/commit.hh +++ b/src/cpu/o3/commit.hh @@ -246,11 +246,6 @@ class DefaultCommit */ void updateStatus(); - /** Sets the next status based on threads' statuses, which becomes the - * current status at the end of the cycle. - */ - void setNextStatus(); - /** Returns if any of the threads have the number of ROB entries changed * on this cycle. Used to determine if the number of free ROB entries needs * to be sent back to previous stages. @@ -392,9 +387,6 @@ class DefaultCommit */ bool changedROBNumEntries[Impl::MaxThreads]; - /** A counter of how many threads are currently squashing. */ - ThreadID squashCounter; - /** Records if a thread has to squash this cycle due to a trap. */ bool trapSquash[Impl::MaxThreads]; |