#[repr(C)]pub struct _ocsd_decode_stats {
pub version: u32,
pub revision: u16,
pub channel_total: u64,
pub channel_unsynced: u64,
pub bad_header_errs: u32,
pub bad_sequence_errs: u32,
pub demux: ocsd_demux_stats_t,
}Expand description
@name Decode statistics
Contains statistics for bytes decoded by the packet decoder, if statistics are supported.
Stats block instantiated in the base class - derived protocol specific decoder must initialise and use as required.
The single channel block contains the stats for the requested channel via the API call.
The global demux block contains the totals for all channels and non-data bytes used in CoreSight frame demux. This block will show identical data for every requested channel via the API.
@{
Fields§
§version: u32< library version number
revision: u16< revision number - defines the structure version for the stats.
channel_total: u64< total bytes processed for this channel
channel_unsynced: u64< number of unsynced bytes processed on this channel
bad_header_errs: u32< number of bad packet header errors
bad_sequence_errs: u32< number of bad packet sequence errors
demux: ocsd_demux_stats_t< global demux stats block
Trait Implementations§
Source§impl Clone for _ocsd_decode_stats
impl Clone for _ocsd_decode_stats
Source§fn clone(&self) -> _ocsd_decode_stats
fn clone(&self) -> _ocsd_decode_stats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more