summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-09-16 11:59:55 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-09-16 11:59:55 -0500
commit4b19e06644880ee58d952b73321c68135dba8259 (patch)
tree40b5e82f20125aaa04724f9dcf65d1f95c02f1ba /src/mem/ruby
parentb6b972da99c22903671fd86c5d02dcc6657a18b8 (diff)
downloadgem5-4b19e06644880ee58d952b73321c68135dba8259.tar.xz
ruby: sequencer: remove commented out function printProgress()
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/system/Sequencer.cc51
-rw-r--r--src/mem/ruby/system/Sequencer.hh1
2 files changed, 0 insertions, 52 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc
index 8e41204b7..48e6c5163 100644
--- a/src/mem/ruby/system/Sequencer.cc
+++ b/src/mem/ruby/system/Sequencer.cc
@@ -157,57 +157,6 @@ void Sequencer::resetStats()
}
}
-void
-Sequencer::printProgress(ostream& out) const
-{
-#if 0
- int total_demand = 0;
- out << "Sequencer Stats Version " << m_version << endl;
- out << "Current time = " << m_ruby_system->getTime() << endl;
- out << "---------------" << endl;
- out << "outstanding requests" << endl;
-
- out << "proc " << m_Read
- << " version Requests = " << m_readRequestTable.size() << endl;
-
- // print the request table
- RequestTable::iterator read = m_readRequestTable.begin();
- RequestTable::iterator read_end = m_readRequestTable.end();
- for (; read != read_end; ++read) {
- SequencerRequest* request = read->second;
- out << "\tRequest[ " << i << " ] = " << request->type
- << " Address " << rkeys[i]
- << " Posted " << request->issue_time
- << " PF " << PrefetchBit_No << endl;
- total_demand++;
- }
-
- out << "proc " << m_version
- << " Write Requests = " << m_writeRequestTable.size << endl;
-
- // print the request table
- RequestTable::iterator write = m_writeRequestTable.begin();
- RequestTable::iterator write_end = m_writeRequestTable.end();
- for (; write != write_end; ++write) {
- SequencerRequest* request = write->second;
- out << "\tRequest[ " << i << " ] = " << request.getType()
- << " Address " << wkeys[i]
- << " Posted " << request.getTime()
- << " PF " << request.getPrefetch() << endl;
- if (request.getPrefetch() == PrefetchBit_No) {
- total_demand++;
- }
- }
-
- out << endl;
-
- out << "Total Number Outstanding: " << m_outstanding_count << endl
- << "Total Number Demand : " << total_demand << endl
- << "Total Number Prefetches : " << m_outstanding_count - total_demand
- << endl << endl << endl;
-#endif
-}
-
// Insert the request on the correct request table. Return true if
// the entry was already present.
RequestStatus
diff --git a/src/mem/ruby/system/Sequencer.hh b/src/mem/ruby/system/Sequencer.hh
index c4ed6f21e..319c5cf21 100644
--- a/src/mem/ruby/system/Sequencer.hh
+++ b/src/mem/ruby/system/Sequencer.hh
@@ -63,7 +63,6 @@ class Sequencer : public RubyPort
// Public Methods
void wakeup(); // Used only for deadlock detection
- void printProgress(std::ostream& out) const;
void resetStats();
void collateStats();
void regStats();