aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stats/mod.rs
blob: 5e08e8ec4d9e0f95b550ab37f25da696075b3a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! This module contains information need to view information about how the
//! runtime is performing.
#![allow(clippy::module_inception)]

cfg_stats! {
    mod stats;

    pub use self::stats::{RuntimeStats, WorkerStats};
    pub(crate) use self::stats::WorkerStatsBatcher;
}

cfg_not_stats! {
    #[path = "mock.rs"]
    mod stats;

    pub(crate) use self::stats::{RuntimeStats, WorkerStatsBatcher};
}