Method: Hitimes::Stats#initialize

Defined in:
lib/hitimes/stats.rb

#initializeStats

Returns a new instance of Stats.



39
40
41
42
43
44
45
46
# File 'lib/hitimes/stats.rb', line 39

def initialize
  @mutex = Mutex.new
  @min = Float::INFINITY
  @max = -Float::INFINITY
  @count = 0
  @sum = 0.0
  @sumsq = 0.0
end