# File lib/puppet/rails/benchmark.rb, line 40 40: def log_accumulated_marks(message) 41: return unless time_debug? 42: 43: if $benchmarks[:accumulated].empty? or $benchmarks[:accumulated][message].nil? or $benchmarks[:accumulated][message].empty? 44: return 45: end 46: 47: $benchmarks[:accumulated][message].each do |label, value| 48: Puppet.debug(message + ("(%s)" % label) + (" in %0.2f seconds" % value)) 49: end 50: end