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

Public Class Methods

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

Public Instance Methods

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