Mountain/IPC/AdvancedFeatures/PerformanceStats.rs
1#![allow(non_snake_case)]
2
3//! Cumulative IPC counters - sent / received message totals,
4//! rolled-up average processing time, peak rate, error count,
5//! and uptime tick. Returned by
6//! `mountain_get_performance_stats`.
7
8use serde::{Deserialize, Serialize};
9
10#[derive(Debug, Clone, Serialize, Deserialize)]
11pub struct Struct {
12 pub total_messages_sent:u64,
13 pub total_messages_received:u64,
14 pub average_processing_time_ms:f64,
15 pub peak_message_rate:u32,
16 pub error_count:u32,
17 pub last_update:u64,
18 pub connection_uptime:u64,
19}