ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
payload_statistics_t Struct Reference

Runtime pipeline statistics and counters. More...

#include <app_context.h>

Data Fields

uint64_t udp_rx_frames
 
uint64_t hdlc_tx_frames
 
uint64_t serial_rx_bytes
 
uint64_t hdlc_frame_ready
 
uint64_t hdlc_decode_ok
 
uint64_t hdlc_decode_fail
 
uint64_t udp_tx_frames
 
uint64_t udp_rx_throttle_enter
 
uint64_t udp_rx_throttle_skips
 
uint64_t udp_rx_buffer_full_counts
 
uint64_t udp_tx_buffer_full_counts
 
uint64_t sync_lookahead_wait_syncing
 
uint64_t sync_lookahead_wait_synced
 
uint64_t sync_candidate_consume
 
uint64_t sync_hardcap_drop_events
 
uint64_t sync_hardcap_drop_bytes
 
uint64_t decode_fail_invalid_frame
 
uint64_t decode_fail_too_short
 
uint64_t decode_fail_payload_too_long
 
uint64_t decode_fail_unstuff_error
 
uint64_t decode_fail_crc_mismatch
 
uint64_t resync_idle_timeout_count
 
uint64_t resync_hard_fail_count
 
uint64_t resync_no_progress_count
 
uint64_t tx_queue_used_max
 
uint64_t tx_queue_drop_frames
 
uint64_t event_queue_used_max
 
uint64_t event_queue_drop_events
 
uint64_t log_drop_lines
 
uint64_t log_queue_used_max
 
uint64_t accumulator_pos_max
 
uint64_t rx_fifo_stall_events
 
uint64_t serial_rx_drop_acc_full
 
uint64_t hunt_idle_drop_bytes
 
uint32_t last_report_ms
 

Detailed Description

Runtime pipeline statistics and counters.

Definition at line 49 of file app_context.h.

Field Documentation

◆ accumulator_pos_max

uint64_t payload_statistics_t::accumulator_pos_max

Definition at line 86 of file app_context.h.

Referenced by print_status_event(), and update_rx_drain_stats().

◆ decode_fail_crc_mismatch

uint64_t payload_statistics_t::decode_fail_crc_mismatch

Definition at line 73 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ decode_fail_invalid_frame

uint64_t payload_statistics_t::decode_fail_invalid_frame

Definition at line 69 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ decode_fail_payload_too_long

uint64_t payload_statistics_t::decode_fail_payload_too_long

Definition at line 71 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ decode_fail_too_short

uint64_t payload_statistics_t::decode_fail_too_short

Definition at line 70 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ decode_fail_unstuff_error

uint64_t payload_statistics_t::decode_fail_unstuff_error

Definition at line 72 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ event_queue_drop_events

uint64_t payload_statistics_t::event_queue_drop_events

Definition at line 82 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ event_queue_used_max

uint64_t payload_statistics_t::event_queue_used_max

Definition at line 81 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ hdlc_decode_fail

uint64_t payload_statistics_t::hdlc_decode_fail

Definition at line 56 of file app_context.h.

Referenced by decode_hdlc_to_udp_tx(), ev_status(), and print_status_event().

◆ hdlc_decode_ok

uint64_t payload_statistics_t::hdlc_decode_ok

Definition at line 55 of file app_context.h.

Referenced by decode_hdlc_to_udp_tx(), poll_hdlc_no_progress(), and print_status_event().

◆ hdlc_frame_ready

uint64_t payload_statistics_t::hdlc_frame_ready

Definition at line 54 of file app_context.h.

Referenced by decode_hdlc_to_udp_tx(), ev_status(), and print_status_event().

◆ hdlc_tx_frames

uint64_t payload_statistics_t::hdlc_tx_frames

Definition at line 52 of file app_context.h.

Referenced by ev_status(), poll_and_enqueue_udp_rx(), and print_status_event().

◆ hunt_idle_drop_bytes

uint64_t payload_statistics_t::hunt_idle_drop_bytes

Definition at line 89 of file app_context.h.

Referenced by drain_rx_until_empty(), and print_status_event().

◆ last_report_ms

uint32_t payload_statistics_t::last_report_ms

Definition at line 91 of file app_context.h.

Referenced by ev_status().

◆ log_drop_lines

uint64_t payload_statistics_t::log_drop_lines

Definition at line 83 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ log_queue_used_max

uint64_t payload_statistics_t::log_queue_used_max

Definition at line 84 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ resync_hard_fail_count

uint64_t payload_statistics_t::resync_hard_fail_count

Definition at line 76 of file app_context.h.

Referenced by decode_hdlc_to_udp_tx(), and print_status_event().

◆ resync_idle_timeout_count

uint64_t payload_statistics_t::resync_idle_timeout_count

Definition at line 75 of file app_context.h.

Referenced by poll_hdlc_idle_timeout(), and print_status_event().

◆ resync_no_progress_count

uint64_t payload_statistics_t::resync_no_progress_count

Definition at line 77 of file app_context.h.

Referenced by poll_hdlc_no_progress(), and print_status_event().

◆ rx_fifo_stall_events

uint64_t payload_statistics_t::rx_fifo_stall_events

Definition at line 87 of file app_context.h.

Referenced by event_loop(), and print_status_event().

◆ serial_rx_bytes

uint64_t payload_statistics_t::serial_rx_bytes

◆ serial_rx_drop_acc_full

uint64_t payload_statistics_t::serial_rx_drop_acc_full

Definition at line 88 of file app_context.h.

Referenced by drain_rx_until_empty(), and print_status_event().

◆ sync_candidate_consume

uint64_t payload_statistics_t::sync_candidate_consume

Definition at line 65 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ sync_hardcap_drop_bytes

uint64_t payload_statistics_t::sync_hardcap_drop_bytes

Definition at line 67 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ sync_hardcap_drop_events

uint64_t payload_statistics_t::sync_hardcap_drop_events

Definition at line 66 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ sync_lookahead_wait_synced

uint64_t payload_statistics_t::sync_lookahead_wait_synced

Definition at line 64 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ sync_lookahead_wait_syncing

uint64_t payload_statistics_t::sync_lookahead_wait_syncing

Definition at line 63 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ tx_queue_drop_frames

uint64_t payload_statistics_t::tx_queue_drop_frames

Definition at line 80 of file app_context.h.

Referenced by poll_and_enqueue_udp_rx(), and print_status_event().

◆ tx_queue_used_max

uint64_t payload_statistics_t::tx_queue_used_max

Definition at line 79 of file app_context.h.

Referenced by print_status_event(), and update_statistics().

◆ udp_rx_buffer_full_counts

uint64_t payload_statistics_t::udp_rx_buffer_full_counts

Definition at line 60 of file app_context.h.

Referenced by event_loop(), and print_status_event().

◆ udp_rx_frames

uint64_t payload_statistics_t::udp_rx_frames

Definition at line 51 of file app_context.h.

Referenced by ev_status(), poll_and_enqueue_udp_rx(), and print_status_event().

◆ udp_rx_throttle_enter

uint64_t payload_statistics_t::udp_rx_throttle_enter

Definition at line 58 of file app_context.h.

Referenced by print_status_event(), and update_udp_rx_throttle_state().

◆ udp_rx_throttle_skips

uint64_t payload_statistics_t::udp_rx_throttle_skips

Definition at line 59 of file app_context.h.

Referenced by event_loop(), and print_status_event().

◆ udp_tx_buffer_full_counts

uint64_t payload_statistics_t::udp_tx_buffer_full_counts

Definition at line 61 of file app_context.h.

Referenced by event_loop(), and print_status_event().

◆ udp_tx_frames

uint64_t payload_statistics_t::udp_tx_frames

Definition at line 57 of file app_context.h.

Referenced by decode_hdlc_to_udp_tx(), ev_status(), and print_status_event().


The documentation for this struct was generated from the following file: