Struct p25::stats::Stats
[−]
[src]
pub struct Stats { /* fields omitted */ }
Records various runtime statistics.
Methods
impl Stats
[src]
pub fn merge<T: HasStats>(&mut self, other: &mut T)
[src]
Merge in the stats from the given object and reset the other stats back to default.
pub fn clear(&mut self)
[src]
Clear all stats.
pub fn record_err(&mut self, err: P25Error)
[src]
Record the given error into the current stats.
pub fn record_bch(&mut self, err: usize)
[src]
Record BCH errors.
pub fn record_cyclic(&mut self, err: usize)
[src]
Record cyclic code errors.
pub fn record_golay_std(&mut self, err: usize)
[src]
Record standard Golay errors.
pub fn record_golay_ext(&mut self, err: usize)
[src]
Record extended Golay errors.
pub fn record_golay_short(&mut self, err: usize)
[src]
Record short Golay errors.
pub fn record_hamming_std(&mut self, err: usize)
[src]
Record standard Hamming code errors.
pub fn record_hamming_short(&mut self, err: usize)
[src]
Record short Hamming code errors.
pub fn record_rs_short(&mut self, err: usize)
[src]
Record short Reed-Solomon code errors.
pub fn record_rs_med(&mut self, err: usize)
[src]
Record medium Reed-Solomon code errors.
pub fn record_rs_long(&mut self, err: usize)
[src]
Record long Reed-Solomon code errors.
Trait Implementations
impl Copy for Stats
[src]
impl Clone for Stats
[src]
fn clone(&self) -> Stats
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more