Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.333 kb
module Profiler__
def start_profile
@p = Rubinius::Profiler::Instrumenter.new
@p.start
end
def stop_profile
@p.stop
end
def options(opts)
@p.set_options opts
end
def print_profile(f)
stop_profile
@p.show(f)
end
module_function :start_profile, :stop_profile, :print_profile, :options
end
Jump to Line
Something went wrong with that request. Please try again.