Sha256: 81dcffd01a0969399eefb539af6b1961a64ab01fe35d4bbfd080d0077e1a62ba

Contents?: true

Size: 882 Bytes

Versions: 8

Compression:

Stored size: 882 Bytes

Contents

//! This module contains information need to view information about how the
//! runtime is performing.
//!
//! **Note**: This is an [unstable API][unstable]. The public API of types in
//! this module may break in 1.x releases. See [the documentation on unstable
//! features][unstable] for details.
//!
//! [unstable]: crate#unstable-features
#![allow(clippy::module_inception)]

cfg_metrics! {
    mod batch;
    pub(crate) use batch::MetricsBatch;

    mod runtime;
    #[allow(unreachable_pub)] // rust-lang/rust#57411
    pub use runtime::RuntimeMetrics;

    mod scheduler;
    pub(crate) use scheduler::SchedulerMetrics;

    mod worker;
    pub(crate) use worker::WorkerMetrics;

    cfg_net! {
        mod io;
        pub(crate) use io::IoDriverMetrics;
    }
}

cfg_not_metrics! {
    mod mock;

    pub(crate) use mock::{SchedulerMetrics, WorkerMetrics, MetricsBatch};
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-9.0.1 ./ext/cargo-vendor/tokio-1.28.1/src/runtime/metrics/mod.rs
wasmtime-8.0.0 ./ext/cargo-vendor/tokio-1.27.0/src/runtime/metrics/mod.rs
wasmtime-7.0.0 ./ext/cargo-vendor/tokio-1.27.0/src/runtime/metrics/mod.rs
wasmtime-6.0.1 ./ext/cargo-vendor/tokio-1.25.0/src/runtime/metrics/mod.rs
wasmtime-6.0.0 ./ext/cargo-vendor/tokio-1.25.0/src/runtime/metrics/mod.rs
wasmtime-5.0.0 ./ext/cargo-vendor/tokio-1.24.2/src/runtime/metrics/mod.rs
wasmtime-0.4.1 ./ext/cargo-vendor/tokio-1.23.0/src/runtime/metrics/mod.rs
wasmtime-0.4.0 ./ext/cargo-vendor/tokio-1.23.0/src/runtime/metrics/mod.rs