Class: Rack::AllocationTracerMiddleware::TotalTracer

Inherits:
Tracer
  • Object
show all
Defined in:
lib/rack/allocation_tracer.rb

Instance Method Summary collapse

Methods inherited from Tracer

#allocated_count_table_page, #allocation_trace_page, #call, #count_table_page, #freed_count_table_page, #lifetime_table_page

Constructor Details

#initialize(*args) ⇒ TotalTracer

Returns a new instance of TotalTracer.



111
112
113
114
115
116
# File 'lib/rack/allocation_tracer.rb', line 111

def initialize *args
  super
  ObjectSpace::AllocationTracer.setup %i(path line class)
  ObjectSpace::AllocationTracer.lifetime_table_setup true
  ObjectSpace::AllocationTracer.start
end