Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/StatusReporter/
MessageStats.rs

1//! Per-channel message counters used to compute throughput
2//! and average processing time inside `IPCStatusReport::Struct`.
3
4use serde::{Deserialize, Serialize};
5
6#[derive(Debug, Clone, Serialize, Deserialize)]
7pub struct Struct {
8	pub channel:String,
9
10	pub message_count:u32,
11
12	pub last_message_time:u64,
13
14	pub average_processing_time_ms:f64,
15}