Method: NewRelic::Agent::Stats#reset

Defined in:
lib/new_relic/agent/stats.rb

#resetObject

[View source]

22
23
24
25
26
27
28
29
# File 'lib/new_relic/agent/stats.rb', line 22

def reset
  @call_count = 0
  @total_call_time = 0.0
  @total_exclusive_time = 0.0
  @min_call_time = 0.0
  @max_call_time = 0.0
  @sum_of_squares = 0.0
end