Cryload::Stats::LatencyView - cryload 6.0.0

# struct Cryload::Stats::LatencyView

- Cryload::Stats::LatencyView
- Struct
- Value
- Object

##
Overview

Snapshot of one histogram taken under the lock, so the report never mixes values from different instants.

##
Defined in:

cryload/stats.cr

##
Constructors

- .new(count : Int64, avg : Float64, min : Float64, max : Float64, stdev : Float64, percentiles : Hash(Float64, Float64))

##
Instance Method Summary

- #avg : Float64
- #count : Int64
- #empty? : Bool
- #max : Float64
- #min : Float64
- #p(value : Float64) : Float64
- #percentiles : Hash(Float64, Float64)
- #stdev : Float64

##
Constructor Detail

def self.new(count : Int64, avg : Float64, min : Float64, max : Float64, stdev : Float64, percentiles : Hash(Float64, Float64)) #

##
Instance Method Detail

def avg : Float64 #
def count : Int64 #
def empty? : Bool #
def max : Float64 #
def min : Float64 #
def p(value : Float64) : Float64 #
def percentiles : Hash(Float64, Float64) #
def stdev : Float64 #