Method: Puppet::Util::Profiler.add_profiler

Defined in:
lib/puppet/util/profiler.rb

.add_profiler(profiler) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • profiler (#profile)

    A profiler for the current thread



31
32
33
# File 'lib/puppet/util/profiler.rb', line 31

def self.add_profiler(profiler)
  @profiler.add_profiler(profiler)
end