# File lib/puppet/rails/benchmark.rb, line 36 36: def log_accumulated_marks(message) 37: return unless time_debug? 38: 39: return if $benchmarks[:accumulated].empty? or $benchmarks[:accumulated][message].nil? or $benchmarks[:accumulated][message].empty? 40: 41: $benchmarks[:accumulated][message].each do |label, value| 42: Puppet.debug(message + ("(#{label})") + (" in %0.2f seconds" % value)) 43: end 44: end