summaryrefslogtreecommitdiff
path: root/src/mem/ruby/profiler
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-03-22 15:53:25 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-03-22 15:53:25 -0500
commit28005a7626ca0b6972fb308a172481ba6c31ee8b (patch)
tree777b080938582b9f592e3e4937474fbbe7db605d /src/mem/ruby/profiler
parent89bb8260790442ab1260099a95cfcfa2c17f2cb0 (diff)
downloadgem5-28005a7626ca0b6972fb308a172481ba6c31ee8b.tar.xz
ruby: remove unsued profile functions
Diffstat (limited to 'src/mem/ruby/profiler')
-rw-r--r--src/mem/ruby/profiler/Profiler.cc16
-rw-r--r--src/mem/ruby/profiler/Profiler.hh16
2 files changed, 0 insertions, 32 deletions
diff --git a/src/mem/ruby/profiler/Profiler.cc b/src/mem/ruby/profiler/Profiler.cc
index 43c658830..4d05a5698 100644
--- a/src/mem/ruby/profiler/Profiler.cc
+++ b/src/mem/ruby/profiler/Profiler.cc
@@ -467,15 +467,6 @@ Profiler::printStats(ostream& out, bool short_stats)
out << endl;
}
- if (m_outstanding_requests.size() > 0) {
- out << "outstanding_requests: ";
- m_outstanding_requests.printPercent(out);
- out << endl;
- out << endl;
- }
- }
-
- if (!short_stats) {
printRequestProfile(out);
out << "filter_action: " << m_filter_action_histogram << endl;
@@ -576,13 +567,6 @@ Profiler::clearStats()
m_cache_to_cache = 0;
m_memory_to_cache = 0;
- m_outstanding_requests.clear();
- m_outstanding_persistent_requests.clear();
-
- // Flush the prefetches through the system - used so that there
- // are no outstanding requests after stats are cleared
- //g_eventQueue_ptr->triggerAllEvents();
-
// update the start time
m_ruby_start = g_system_ptr->curCycle();
}
diff --git a/src/mem/ruby/profiler/Profiler.hh b/src/mem/ruby/profiler/Profiler.hh
index aabe7bfaa..02c37bd60 100644
--- a/src/mem/ruby/profiler/Profiler.hh
+++ b/src/mem/ruby/profiler/Profiler.hh
@@ -104,18 +104,6 @@ class Profiler : public SimObject
void profileConflictingRequests(const Address& addr);
void
- profileOutstandingRequest(int outstanding)
- {
- m_outstanding_requests.add(outstanding);
- }
-
- void
- profileOutstandingPersistentRequest(int outstanding)
- {
- m_outstanding_persistent_requests.add(outstanding);
- }
-
- void
profileAverageLatencyEstimate(int latency)
{
m_average_latency_estimate.add(latency);
@@ -213,11 +201,7 @@ class Profiler : public SimObject
std::vector<Histogram> m_SWPrefetchLatencyHistograms;
std::vector<Histogram> m_SWPrefetchMachLatencyHistograms;
- Histogram m_outstanding_requests;
- Histogram m_outstanding_persistent_requests;
-
Histogram m_average_latency_estimate;
-
m5::hash_set<Address> m_watch_address_set;
//added by SS