diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-06-09 07:29:59 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-06-09 07:29:59 -0500 |
commit | 27b321f2f7d230dfc84ee742fd415f0828e1d862 (patch) | |
tree | 25ca7085811343a5d11fd047ae07b152820367b0 /src/mem/ruby/profiler/Profiler.hh | |
parent | f59a7af50a7309944abfe1997057f52591619635 (diff) | |
download | gem5-27b321f2f7d230dfc84ee742fd415f0828e1d862.tar.xz |
ruby: remove periodic event from Profiler
The Profiler class does not need an event for dumping statistics
periodically. This is because there is a method for dumping statistics
for all the sim objects periodically. Since Ruby is a sim object, its
statistics are also included.
Diffstat (limited to 'src/mem/ruby/profiler/Profiler.hh')
-rw-r--r-- | src/mem/ruby/profiler/Profiler.hh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mem/ruby/profiler/Profiler.hh b/src/mem/ruby/profiler/Profiler.hh index 6bd9deee5..ce11f7a7b 100644 --- a/src/mem/ruby/profiler/Profiler.hh +++ b/src/mem/ruby/profiler/Profiler.hh @@ -159,9 +159,6 @@ class Profiler : public SimObject std::vector<int64> m_instructions_executed_at_start; std::vector<int64> m_cycles_executed_at_start; - std::ostream* m_periodic_output_file_ptr; - int64_t m_stats_period; - Cycles m_ruby_start; time_t m_real_time_start_time; @@ -208,20 +205,6 @@ class Profiler : public SimObject bool m_all_instructions; int m_num_of_sequencers; - - protected: - class ProfileEvent : public Event - { - public: - ProfileEvent(Profiler *_profiler) - { - profiler = _profiler; - } - private: - void process() { profiler->wakeup(); } - Profiler *profiler; - }; - ProfileEvent m_event; }; inline std::ostream& |