Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/tokio/src/runtime/io/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 663 B image not shown  

Quelle  metrics.rs

  Sprache: Rust
 

//! This file contains mocks of the metrics types used in the I/O driver.
//!
//! The reason these mocks don't live in `src/runtime/mock.rs` is because
//! these need to be available in the case when `net` is enabled but
//! `rt` is not.

cfg_not_rt_and_metrics_and_net! {
    #[derive(Default)]
    pub(cratestruct IoDriverMetrics {}

    impl IoDriverMetrics {
        pub(cratefn incr_fd_count(&self) {}
        pub(cratefn dec_fd_count(&self) {}
        pub(cratefn incr_ready_count_by(&self, _amt: u64) {}
    }
}

cfg_net! {
    cfg_rt! {
        cfg_unstable_metrics! {
            pub(crateuse crate::runtime::IoDriverMetrics;
        }
    }
}

Messung V0.5 in Prozent
C=80 H=100 G=90

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-25) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.