Grammar and stream of consciousness cleanup for Channel and Scheduler rdoc
[rbx.git] / lib / profiler.rb
blob34f3d5fcf21a74ac1be48523d539cc6972c634bf
1 module Profiler__
2   def start_profile
3     @p = Sampler.new
4     @p.start
5   end
6   
7   def stop_profile
8     @p.stop
9   end
10   
11   def print_profile(f)
12     stop_profile
13     @p.display(f)
14   end
15   
16   module_function :start_profile, :stop_profile, :print_profile
17 end