Cryload::Histogram::Sparse - cryload 6.0.0

# class Cryload::Histogram::Sparse

- Cryload::Histogram::Sparse
- Reference
- Object

##
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

- .new

##
Instance Method Summary

- #buckets : Hash(Int32, Int64)
- #count : Int64
- #empty? : Bool
- #m2 : Float64
- #max : Float64
- #mean : Float64
- #min : Float64
- #record(value_ms : Float64) : Nil
- #sum : Float64

##
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 #