From 47877cf2dbd6ee2f1cf9b2c609d37b0589e876ca Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 26 May 2009 09:23:13 -0700 Subject: types: add a type for thread IDs and try to use it everywhere --- src/mem/ruby/system/CacheMemory.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mem/ruby/system/CacheMemory.hh') diff --git a/src/mem/ruby/system/CacheMemory.hh b/src/mem/ruby/system/CacheMemory.hh index a8306c06f..6908b9168 100644 --- a/src/mem/ruby/system/CacheMemory.hh +++ b/src/mem/ruby/system/CacheMemory.hh @@ -200,9 +200,9 @@ CacheMemory::CacheMemory(AbstractChip* chip_ptr, int numSetBits, // cout << "Before setting trans address list size" << endl; //create a trans address for each SMT thread // m_trans_address_list.setSize(numThreads); -// for(int i=0; i < numThreads; ++i){ -// cout << "Setting list size for list " << i << endl; -// m_trans_address_list[i].setSize(30); +// for(ThreadID tid = 0; tid < numThreads; ++tid){ +// cout << "Setting list size for list " << tid << endl; +// m_trans_address_list[tid].setSize(30); // } //cout << "CacheMemory constructor finished" << endl; } -- cgit v1.2.3