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};
}