diff options
Diffstat (limited to 'src/cpu/o3/rob_impl.hh')
-rw-r--r-- | src/cpu/o3/rob_impl.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/o3/rob_impl.hh b/src/cpu/o3/rob_impl.hh index 5d5d821b8..432d43f9c 100644 --- a/src/cpu/o3/rob_impl.hh +++ b/src/cpu/o3/rob_impl.hh @@ -153,7 +153,7 @@ void ROB<Impl>::resetEntries() { if (robPolicy != SMTQueuePolicy::Dynamic || numThreads > 1) { - int active_threads = activeThreads->size(); + auto active_threads = activeThreads->size(); list<ThreadID>::iterator threads = activeThreads->begin(); list<ThreadID>::iterator end = activeThreads->end(); @@ -195,7 +195,7 @@ ROB<Impl>::countInsts() } template <class Impl> -int +size_t ROB<Impl>::countInsts(ThreadID tid) { return instList[tid].size(); |