changeset bf3d0f56a6ba in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=bf3d0f56a6ba
description:
        ruby: sequencer: remove commented out function printProgress()

diffstat:

 src/mem/ruby/system/Sequencer.cc |  51 ----------------------------------------
 src/mem/ruby/system/Sequencer.hh |   1 -
 2 files changed, 0 insertions(+), 52 deletions(-)

diffs (72 lines):

diff -r 6342ddf6d733 -r bf3d0f56a6ba src/mem/ruby/system/Sequencer.cc
--- a/src/mem/ruby/system/Sequencer.cc  Wed Sep 16 12:03:03 2015 -0400
+++ b/src/mem/ruby/system/Sequencer.cc  Wed Sep 16 11:59:55 2015 -0500
@@ -157,57 +157,6 @@
     }
 }
 
-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 -r 6342ddf6d733 -r bf3d0f56a6ba src/mem/ruby/system/Sequencer.hh
--- a/src/mem/ruby/system/Sequencer.hh  Wed Sep 16 12:03:03 2015 -0400
+++ b/src/mem/ruby/system/Sequencer.hh  Wed Sep 16 11:59:55 2015 -0500
@@ -63,7 +63,6 @@
 
     // Public Methods
     void wakeup(); // Used only for deadlock detection
-    void printProgress(std::ostream& out) const;
     void resetStats();
     void collateStats();
     void regStats();
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to