Type Alias ocsd_decode_stats_t

Source
pub type ocsd_decode_stats_t = _ocsd_decode_stats;
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.

@{

Aliased Type§

struct ocsd_decode_stats_t {
    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,
}

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

< global demux stats block