diff -r dd7da7aece0a -r f2888917f08e src/mem/ruby/common/Address.cc --- a/src/mem/ruby/common/Address.cc Thu Sep 13 09:59:09 2012 -0500 +++ b/src/mem/ruby/common/Address.cc Thu Sep 13 10:00:06 2012 -0500 @@ -55,10 +55,10 @@ + RubySystem::getBlockSizeBytes()*stride; } -integer_t +int64 Address::memoryModuleIndex() const { - integer_t index = + int64 index = bitSelect(RubySystem::getBlockSizeBits() + RubySystem::getMemorySizeBits(), ADDRESS_WIDTH); assert (index >= 0); diff -r dd7da7aece0a -r f2888917f08e src/mem/ruby/common/TypeDefines.hh --- a/src/mem/ruby/common/TypeDefines.hh Thu Sep 13 09:59:09 2012 -0500 +++ b/src/mem/ruby/common/TypeDefines.hh Thu Sep 13 10:00:06 2012 -0500 @@ -34,8 +34,6 @@ typedef long long int64; -typedef long long integer_t; - typedef int64 Time; typedef uint64 physical_address_t; diff -r dd7da7aece0a -r f2888917f08e src/mem/ruby/profiler/Profiler.hh --- a/src/mem/ruby/profiler/Profiler.hh Thu Sep 13 09:59:09 2012 -0500 +++ b/src/mem/ruby/profiler/Profiler.hh Thu Sep 13 10:00:06 2012 -0500 @@ -79,7 +79,7 @@ void wakeup(); void setPeriodicStatsFile(const std::string& filename); - void setPeriodicStatsInterval(integer_t period); + void setPeriodicStatsInterval(int64 period); void printStats(std::ostream& out, bool short_stats=false); void printShortStats(std::ostream& out) { printStats(out, true); } @@ -182,13 +182,13 @@ std::vector m_cycles_executed_at_start; std::ostream* m_periodic_output_file_ptr; - integer_t m_stats_period; + int64 m_stats_period; Time m_ruby_start; time_t m_real_time_start_time; - std::vector > m_busyControllerCount; - integer_t m_busyBankCount; + std::vector > m_busyControllerCount; + int64 m_busyBankCount; Histogram m_multicast_retry_histogram; Histogram m_filter_action_histogram; diff -r dd7da7aece0a -r f2888917f08e src/mem/ruby/profiler/Profiler.cc --- a/src/mem/ruby/profiler/Profiler.cc Thu Sep 13 09:59:09 2012 -0500 +++ b/src/mem/ruby/profiler/Profiler.cc Thu Sep 13 10:00:06 2012 -0500 @@ -109,7 +109,7 @@ { // FIXME - avoid the repeated code - vector perProcCycleCount(m_num_of_sequencers); + vector perProcCycleCount(m_num_of_sequencers); for (int i = 0; i < m_num_of_sequencers; i++) { perProcCycleCount[i] = @@ -155,7 +155,7 @@ } void -Profiler::setPeriodicStatsInterval(integer_t period) +Profiler::setPeriodicStatsInterval(int64 period) { cout << "Recording periodic statistics every " << m_stats_period << " Ruby cycles" << endl; @@ -223,7 +223,7 @@ out << endl; } - vector perProcCycleCount(m_num_of_sequencers); + vector perProcCycleCount(m_num_of_sequencers); for (int i = 0; i < m_num_of_sequencers; i++) { perProcCycleCount[i] = @@ -419,7 +419,7 @@ out << "Resource Usage" << endl; out << "--------------" << endl; - integer_t pagesize = getpagesize(); // page size in bytes + int64 pagesize = getpagesize(); // page size in bytes out << "page_size: " << pagesize << endl; rusage usage;