Skip to main content
Version: 1.1.1

ecnet::EcNetwork::SyncTraceReport

Per-cycle DC-sync and jitter capture snapshot, cached at [stop()](/lxmaster/api/classes/EcNetwork#function-stop) from the executor's ring buffer (see NetworkConfig::DebugConfig::sync_trace_capacity). More...

#include <ec_network.hpp>

Public Attributes

Name
std::uint64_tviolation_count
Number of cycles where `
std::uint64_ttotal_writes
Total number of cycles written to the ring since [start()](/lxmaster/api/classes/EcNetwork#function-start) (may exceed ring_capacity when the ring wrapped).
std::vector< SyncTraceSample >samples
Ordered vector of per-cycle samples (oldest first) from the ring buffer.
std::size_tring_capacity
Capacity the ring was configured with (number of slots).

Detailed Description

struct ecnet::EcNetwork::SyncTraceReport;

Per-cycle DC-sync and jitter capture snapshot, cached at [stop()](/lxmaster/api/classes/EcNetwork#function-stop) from the executor's ring buffer (see NetworkConfig::DebugConfig::sync_trace_capacity).

Empty when tracing is disabled or the bus was never run. Retrieve via [syncTraceReport()](/lxmaster/api/classes/EcNetwork#function-synctracereport).

Public Attributes Documentation

variable violation_count

std::uint64_t violation_count {0};

Number of cycles where |dc_delta_ns| exceeded NetworkConfig::sync_trace_window_ns.

Always 0 when sync_trace_window_ns == 0.

variable total_writes

std::uint64_t total_writes {0};

Total number of cycles written to the ring since [start()](/lxmaster/api/classes/EcNetwork#function-start) (may exceed ring_capacity when the ring wrapped).

variable samples

std::vector< SyncTraceSample > samples;

Ordered vector of per-cycle samples (oldest first) from the ring buffer.

variable ring_capacity

std::size_t ring_capacity {0};

Capacity the ring was configured with (number of slots).


Updated on 2026-07-13 at 20:44:41 +0000