class Puppet::Util::Profiler::Aggregate::Timer

Public Class Methods

new() click to toggle source
   # File lib/puppet/util/profiler/aggregate.rb
76 def initialize
77   @start = Time.now
78 end

Public Instance Methods

stop() click to toggle source
   # File lib/puppet/util/profiler/aggregate.rb
80 def stop
81   Time.now - @start
82 end