use std::sync::{atomic::AtomicU32, Arc};
use once_cell::sync::Lazy;
// sosistab stats
static SOSISTAB_STATS: Lazy<Arc<sosistab::StatsGatherer>> =
Lazy::new(|| Arc::new(sosistab::StatsGatherer::new_active()));
/// Gets the global sosistab gatherer
pub fn global_sosistab_stats() -> Arc<sosistab::StatsGatherer> {
Arc::clone(&SOSISTAB_STATS)
}
/// Ping gatherer
pub static LAST_PING_MS: AtomicU32 = AtomicU32::new(0);