class Cryload::Histogram::Sparse

Overview

Worker-local accumulator. Buckets are sparse because a single worker touches only a handful of them between flushes.

Defined in:

cryload/histogram.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def buckets : Hash(Int32, Int64) #

def count : Int64 #

def empty? : Bool #

def m2 : Float64 #

def max : Float64 #

def mean : Float64 #

def min : Float64 #

def record(value_ms : Float64) : Nil #

def sum : Float64 #