Class: JRubyProf::SimpleTreePrinter
- Inherits:
-
AbstractPrinter
- Object
- AbstractPrinter
- JRubyProf::SimpleTreePrinter
- Defined in:
- lib/jruby-prof/simple_tree_printer.rb
Instance Attribute Summary
Attributes inherited from AbstractPrinter
Instance Method Summary collapse
Methods inherited from AbstractPrinter
Constructor Details
This class inherits a constructor from JRubyProf::AbstractPrinter
Instance Method Details
#print_on(output) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/jruby-prof/simple_tree_printer.rb', line 4 def print_on(output) thread_set.invocations.each_with_index do |invocation, i| output.puts output.puts "*** Thread #{i + 1} / #{thread_set.length}" output.puts dump_from_root(output, invocation) end end |