Class: RubyProf::CallInfoPrinter

Inherits:
AbstractPrinter show all
Defined in:
lib/ruby-prof/printers/call_info_printer.rb

Overview

Prints out the call graph based on CallInfo instances. This is mainly for debugging purposes as it provides access into into RubyProf’s internals.

To use the printer:

result = RubyProf.profile do
  [code to profile]
end

printer = RubyProf::CallInfoPrinter.new(result)
printer.print(STDOUT)

Constant Summary collapse

TIME_WIDTH =
0

Method Summary

Methods inherited from AbstractPrinter

#initialize, #method_location, #min_percent, needs_dir?, #print, #print_column_headers, #print_thread, #print_threads, #setup_options, #sort_method, #time_format

Constructor Details

This class inherits a constructor from RubyProf::AbstractPrinter