Method: TestProf::EventProf::Monitor::TopLevelTracker#initialize

Defined in:
lib/test_prof/event_prof/monitor.rb

#initialize(event) ⇒ TopLevelTracker

Returns a new instance of TopLevelTracker.



22
23
24
25
26
# File 'lib/test_prof/event_prof/monitor.rb', line 22

def initialize(event)
  super
  @id = :"event_prof_monitor_#{event}"
  Thread.current[id] = 0
end