From 33c904e0a560be8c5f9aedaba9940ad0df52d81c Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 18 Sep 2012 22:49:12 -0500 Subject: ruby: eliminate typedef integer_t --- src/mem/ruby/profiler/Profiler.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mem/ruby/profiler/Profiler.cc') diff --git a/src/mem/ruby/profiler/Profiler.cc b/src/mem/ruby/profiler/Profiler.cc index b6982aca9..e84eea727 100644 --- a/src/mem/ruby/profiler/Profiler.cc +++ b/src/mem/ruby/profiler/Profiler.cc @@ -109,7 +109,7 @@ Profiler::wakeup() { // 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 @@ Profiler::setPeriodicStatsFile(const string& filename) } void -Profiler::setPeriodicStatsInterval(integer_t period) +Profiler::setPeriodicStatsInterval(int64_t period) { cout << "Recording periodic statistics every " << m_stats_period << " Ruby cycles" << endl; @@ -223,7 +223,7 @@ Profiler::printStats(ostream& out, bool short_stats) 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 @@ Profiler::printResourceUsage(ostream& out) const out << "Resource Usage" << endl; out << "--------------" << endl; - integer_t pagesize = getpagesize(); // page size in bytes + int64_t pagesize = getpagesize(); // page size in bytes out << "page_size: " << pagesize << endl; rusage usage; -- cgit v1.2.3