pub struct CodeStatistics {
pub bit_errors: u64,
pub frame_errors: u64,
pub correct_iterations: u64,
pub ber: f64,
pub fer: f64,
pub average_iterations_correct: f64,
}
Expand description
BER test statistics for a particular code.
This is a substructure of Statistics
that includes all the elements that
depend on whether we are using only the inner LDPC decoder or LDPC plus
BCH. Statistics
has two instances of this structure: one for LDPC-only and
another for LDPC plus BCH (which is only present when BCH is enabled).
Fields§
§bit_errors: u64
Number of bit errors.
frame_errors: u64
Number of frame errors.
correct_iterations: u64
Sum of iterations in correct frames.
ber: f64
Bit error rate.
fer: f64
Frame error rate.
average_iterations_correct: f64
Average iterations per correct frame.
Trait Implementations§
Source§impl Clone for CodeStatistics
impl Clone for CodeStatistics
Source§fn clone(&self) -> CodeStatistics
fn clone(&self) -> CodeStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CodeStatistics
impl Debug for CodeStatistics
Source§impl PartialEq for CodeStatistics
impl PartialEq for CodeStatistics
impl StructuralPartialEq for CodeStatistics
Auto Trait Implementations§
impl Freeze for CodeStatistics
impl RefUnwindSafe for CodeStatistics
impl Send for CodeStatistics
impl Sync for CodeStatistics
impl Unpin for CodeStatistics
impl UnwindSafe for CodeStatistics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more