|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
CAN bus statistics structure for performance monitoring. More...
#include <BaseCan.h>
Public Member Functions | |
| hf_can_statistics_t () noexcept=default | |
Public Attributes | |
| std::atomic< hf_u64_t > | messages_sent {0} |
| Total messages successfully sent. | |
| std::atomic< hf_u64_t > | messages_received {0} |
| Total messages successfully received. | |
| std::atomic< hf_u64_t > | bytes_transmitted {0} |
| Total bytes transmitted. | |
| std::atomic< hf_u64_t > | bytes_received {0} |
| Total bytes received. | |
| std::atomic< hf_u32_t > | send_failures {0} |
| Failed send operations. | |
| std::atomic< hf_u32_t > | receive_failures {0} |
| Failed receive operations. | |
| std::atomic< hf_u32_t > | bus_error_count {0} |
| Total bus errors. | |
| std::atomic< hf_u32_t > | arbitration_lost_count {0} |
| Arbitration lost events. | |
| std::atomic< hf_u32_t > | tx_failed_count {0} |
| Transmission failures. | |
| std::atomic< hf_u32_t > | bus_off_events {0} |
| Bus-off occurrences. | |
| std::atomic< hf_u32_t > | error_warning_events {0} |
| Error warning events. | |
| std::atomic< hf_u64_t > | uptime_seconds {0} |
| Total uptime in seconds. | |
| std::atomic< hf_u32_t > | last_activity_timestamp {0} |
| Last activity timestamp. | |
| std::atomic< hf_can_err_t > | last_error {hf_can_err_t::CAN_SUCCESS} |
| Last error encountered. | |
| std::atomic< hf_u32_t > | tx_queue_peak {0} |
| Peak TX queue usage. | |
| std::atomic< hf_u32_t > | rx_queue_peak {0} |
| Peak RX queue usage. | |
| std::atomic< hf_u32_t > | tx_queue_overflows {0} |
| TX queue overflow count. | |
| std::atomic< hf_u32_t > | rx_queue_overflows {0} |
| RX queue overflow count. | |
CAN bus statistics structure for performance monitoring.
Provides comprehensive statistics for monitoring CAN bus performance and identifying potential issues.
|
defaultnoexcept |
| std::atomic<hf_u32_t> hf_can_statistics_t::arbitration_lost_count {0} |
Arbitration lost events.
| std::atomic<hf_u32_t> hf_can_statistics_t::bus_error_count {0} |
Total bus errors.
| std::atomic<hf_u32_t> hf_can_statistics_t::bus_off_events {0} |
Bus-off occurrences.
| std::atomic<hf_u64_t> hf_can_statistics_t::bytes_received {0} |
Total bytes received.
| std::atomic<hf_u64_t> hf_can_statistics_t::bytes_transmitted {0} |
Total bytes transmitted.
| std::atomic<hf_u32_t> hf_can_statistics_t::error_warning_events {0} |
Error warning events.
| std::atomic<hf_u32_t> hf_can_statistics_t::last_activity_timestamp {0} |
Last activity timestamp.
| std::atomic<hf_can_err_t> hf_can_statistics_t::last_error {hf_can_err_t::CAN_SUCCESS} |
Last error encountered.
| std::atomic<hf_u64_t> hf_can_statistics_t::messages_received {0} |
Total messages successfully received.
| std::atomic<hf_u64_t> hf_can_statistics_t::messages_sent {0} |
Total messages successfully sent.
| std::atomic<hf_u32_t> hf_can_statistics_t::receive_failures {0} |
Failed receive operations.
| std::atomic<hf_u32_t> hf_can_statistics_t::rx_queue_overflows {0} |
RX queue overflow count.
| std::atomic<hf_u32_t> hf_can_statistics_t::rx_queue_peak {0} |
Peak RX queue usage.
| std::atomic<hf_u32_t> hf_can_statistics_t::send_failures {0} |
Failed send operations.
| std::atomic<hf_u32_t> hf_can_statistics_t::tx_failed_count {0} |
Transmission failures.
| std::atomic<hf_u32_t> hf_can_statistics_t::tx_queue_overflows {0} |
TX queue overflow count.
| std::atomic<hf_u32_t> hf_can_statistics_t::tx_queue_peak {0} |
Peak TX queue usage.
| std::atomic<hf_u64_t> hf_can_statistics_t::uptime_seconds {0} |
Total uptime in seconds.