struct Cryload::Stats::RateReport

Defined in:

cryload/stats.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(requested : Float64 | Nil, attained : Float64, attainment_percent : Float64 | Nil, scheduled_requests : Int64 | Nil, skipped_requests : Int64 | Nil, schedule_drift_ms : Float64 | Nil) #

Instance Method Detail

def attained : Float64 #

def attainment_percent : Float64 | Nil #

def limited? : Bool #

def missed?(tolerance : Float64) : Bool #

def requested : Float64 | Nil #

def schedule_drift_ms : Float64 | Nil #

def scheduled_requests : Int64 | Nil #

def skipped_requests : Int64 | Nil #