mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
e0bcecee60
* replace "AtomicUsize" with "u64" for field type on "Metrics" * move "compiler_starts" field from "Metrics" to "GlobalState"
10 lines
282 B
Rust
10 lines
282 B
Rust
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
|
#[derive(Default)]
|
|
pub struct Metrics {
|
|
pub ops_dispatched: u64,
|
|
pub ops_completed: u64,
|
|
pub bytes_sent_control: u64,
|
|
pub bytes_sent_data: u64,
|
|
pub bytes_received: u64,
|
|
pub resolve_count: u64,
|
|
}
|