Skip to main content

CMD_ID_METRICS

Constant CMD_ID_METRICS 

Source
pub const CMD_ID_METRICS: u16 = 0xFFFE;
Expand description

Reserved command ID for the framing/throughput metrics snapshot.

Sending a Request with this ID causes the target to reply with the current MetricsSnapshot and atomically reset all counters. Only present when the target is built with the profile feature; without it the command simply does not exist and the host receives SystemError.