Expand description
§IPC Performance Metrics
Two complementary observation primitives:
PerformanceMetrics::Struct- mixed snapshot of throughput, latency (avg- peak), success rate, compression, pool, and host resource counters. The
natural shape for a single point-in-time readout
(
get_performance_metricsTauri command).
- peak), success rate, compression, pool, and host resource counters. The
natural shape for a single point-in-time readout
(
ThroughputMetrics::Struct- directional message/byte counters pinned to aStartTime. The natural shape for rate calculations over a window.
Both files use pub struct Struct so callers spell the full
reverse-hierarchical path:
IPC::Common::PerformanceMetrics::PerformanceMetrics::Struct.
TODO: zero callers as of 2026-05-02. IPC::StatusReporter defines
its own PerformanceMetrics struct with a different shape; the two
should converge in a future batch.
Modules§
- Performance
Metrics - Aggregate IPC perf snapshot: throughput, latency (avg + peak),
compression ratio, pool utilisation, memory + CPU usage, and
success/failure counters.
RecordMessageupdates the running mean latency without bias under high message volume. - Throughput
Metrics - Per-direction message + byte counters with a fixed start time so
MessagesPerSecond*/BytesPerSecond*are derivable as divisions over the elapsed period.