Class: TestProf::MemoryProf::GCTracker
- Defined in:
- lib/test_prof/memory_prof/tracker.rb
Instance Attribute Summary
Attributes inherited from Tracker
#examples, #groups, #list, #top_count, #total_memory
Instance Method Summary collapse
Methods inherited from Tracker
#example_finished, #example_started, #finish, #group_finished, #group_started, #initialize, #start
Constructor Details
This class inherits a constructor from TestProf::MemoryProf::Tracker
Instance Method Details
#supported? ⇒ Boolean
93 94 95 |
# File 'lib/test_prof/memory_prof/tracker.rb', line 93 def supported? ::GC.respond_to?(:total_time) end |
#track ⇒ Object
89 90 91 |
# File 'lib/test_prof/memory_prof/tracker.rb', line 89 def track ::GC.total_time end |