Skip to main content

nros_trace_throttle_at

Macro nros_trace_throttle_at 

Source
macro_rules! nros_trace_throttle_at {
    ($logger:expr, $now_ns:expr, $interval_ms:expr, $($arg:tt)+) => { ... };
}
Expand description

Emit at crate::Severity::Trace, at most once per interval_ms at this call site, measured against the now_ns the CALLER supplies.

rclcpp’s shape — RCLCPP_TRACE_THROTTLE(logger, clock, …) names its clock too — and the only throttled form available with no platform clock.