Method: NewRelic::Agent::Stats#==

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

#==(other) ⇒ Object

[View source]

125
126
127
128
129
130
131
132
133
134
135
# File 'lib/new_relic/agent/stats.rb', line 125

def ==(other)
  other.class == self.class &&
    (
      @min_call_time == other.min_call_time &&
      @max_call_time == other.max_call_time &&
      @total_call_time == other.total_call_time &&
      @total_exclusive_time == other.total_exclusive_time &&
      @sum_of_squares == other.sum_of_squares &&
      @call_count == other.call_count
    )
end