Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Filament::Stats::TimeBucket
Inherits
Struct
<
Value
<
Object
Constructors
new
(start_time :
Time
, packet_count :
UInt64
= 0_u64, byte_count :
UInt64
= 0_u64)
Source
Instance methods
bits_per_second
Throughput in bits per second over a 1-second interval
Source
byte_count
Source
packet_count
Source
start_time
Source
with_packet
(bytes :
UInt64
) :
TimeBucket
Source