Struct ldpc_toolbox::simulation::ber::Statistics
source · pub struct Statistics {Show 13 fields
pub ebn0_db: f32,
pub num_frames: u64,
pub bit_errors: u64,
pub frame_errors: u64,
pub total_iterations: u64,
pub correct_iterations: u64,
pub false_decodes: u64,
pub ber: f64,
pub fer: f64,
pub average_iterations: f64,
pub average_iterations_correct: f64,
pub elapsed: Duration,
pub throughput_mbps: f64,
}Expand description
BER test statistics.
This structure contains the statistics for a single Eb/N0 case in a BER test.
Fields§
§ebn0_db: f32Eb/N0 in dB units.
num_frames: u64Number of frames tested.
bit_errors: u64Number of bit errors.
frame_errors: u64Number of frame errors.
total_iterations: u64Total number of iterations.
correct_iterations: u64Sum of iterations in correct frames.
false_decodes: u64Number of frames falsely decoded.
This are frames for which the decoder converged to a valid codeword, but the codeword is different to the transmitted codeword.
ber: f64Bit error rate.
fer: f64Frame error rate.
average_iterations: f64Average iterations per frame.
average_iterations_correct: f64Average iterations per correct frame.
elapsed: DurationElapsed time for this test case.
throughput_mbps: f64Throughput in Mbps (referred to information bits).
Trait Implementations§
source§impl Clone for Statistics
impl Clone for Statistics
source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
Returns a copy 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<Statistics> for Statistics
impl PartialEq<Statistics> for Statistics
source§fn eq(&self, other: &Statistics) -> bool
fn eq(&self, other: &Statistics) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Statistics
Auto Trait Implementations§
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