class DeepCover::Tools::Profiling::RubyProfProfiler
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/deep_cover/tools/profiling.rb, line 56 def initialize raise 'Profiling is not available when using JRuby' if RUBY_PLATFORM == 'java' require 'ruby-prof' super(RubyProf) end
Public Instance Methods
report(results)
click to toggle source
# File lib/deep_cover/tools/profiling.rb, line 62 def report(results) printer = RubyProf::GraphPrinter.new(results) printer.print(STDOUT, {}) end