mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
13 lines
328 B
Rust
13 lines
328 B
Rust
|
use std::sync::atomic::AtomicUsize;
|
||
|
|
||
|
#[derive(Default)]
|
||
|
pub struct Metrics {
|
||
|
pub ops_dispatched: AtomicUsize,
|
||
|
pub ops_completed: AtomicUsize,
|
||
|
pub bytes_sent_control: AtomicUsize,
|
||
|
pub bytes_sent_data: AtomicUsize,
|
||
|
pub bytes_received: AtomicUsize,
|
||
|
pub resolve_count: AtomicUsize,
|
||
|
pub compiler_starts: AtomicUsize,
|
||
|
}
|