Method: Vuf::Profiler#initialize
- Defined in:
- lib/vuf/profiler.rb
#initialize ⇒ Profiler
Returns a new instance of Profiler.
3 4 5 6 7 8 9 |
# File 'lib/vuf/profiler.rb', line 3 def initialize @mutex = Mutex.new @delay = @stats = {:counter => {}, :time => {}, :avtime => {}} @timers = {} @enable = false end |