# File lib/new_relic/agent/stats_engine/metric_stats.rb, line 162 def reset! with_stats_lock do old = @stats_hash @stats_hash = StatsHash.new old end end