pub struct Statistics {
pub ebn0_db: f32,
pub num_frames: u64,
pub total_iterations: u64,
pub false_decodes: u64,
pub average_iterations: f64,
pub elapsed: Duration,
pub throughput_mbps: f64,
pub ldpc: CodeStatistics,
pub bch: Option<CodeStatistics>,
}
Expand description
BER test statistics.
This structure contains the statistics for a single Eb/N0 case in a BER test.
Fields§
§ebn0_db: f32
Eb/N0 in dB units.
num_frames: u64
Number of frames tested.
total_iterations: u64
Total number of iterations.
false_decodes: u64
Number of frames falsely decoded.
These are frames for which the decoder has converged to a valid codeword, but the codeword is different from the transmitted codeword.
average_iterations: f64
Average iterations per frame.
elapsed: Duration
Elapsed time for this test case.
throughput_mbps: f64
Throughput in Mbps (referred to information bits).
ldpc: CodeStatistics
Statistics of the inner LDPC decoder.
bch: Option<CodeStatistics>
Statistics of the combined inner LDPC decoder plus outer BCH decoder (if it exists).
Trait Implementations§
Source§impl Clone for Statistics
impl Clone for Statistics
Source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
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 Statistics
impl Debug for Statistics
Source§impl PartialEq for Statistics
impl PartialEq for Statistics
impl StructuralPartialEq for Statistics
Auto Trait Implementations§
impl Freeze for Statistics
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
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