struct Cryload::Stats::LatencyView

Overview

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

Defined in:

cryload/stats.cr

Constructors

Instance Method Summary

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 #