pub struct Sample {Show 16 fields
pub core_cpu_permille: u64,
pub core_private_bytes: u64,
pub core_working_set_bytes: u64,
pub core_read_bytes: u64,
pub core_written_bytes: u64,
pub machine_cpu_permille: u64,
pub machine_available_bytes: u64,
pub volume_free_bytes: u64,
pub ledger_queue_depth: u64,
pub durable_lag: u64,
pub relay_p50_nanos: u64,
pub event_to_screen_p50_nanos: u64,
pub queued_runs: u64,
pub view_backlog: u64,
pub read_nanos: u64,
pub beat_ms: u64,
}Expand description
One reading of every counter the monitor shows, in integers because
it travels on the wire (crates/sprawling/Spec.lean §8-94, §8-129-6).
Fields§
§core_cpu_permille: u64§core_private_bytes: u64§core_working_set_bytes: u64§core_read_bytes: u64§core_written_bytes: u64§machine_cpu_permille: u64§machine_available_bytes: u64§volume_free_bytes: u64§ledger_queue_depth: u64§durable_lag: u64§relay_p50_nanos: u64§event_to_screen_p50_nanos: u64§queued_runs: u64§view_backlog: u64Committed records the writer has handed the view thread that are
not yet folded and broadcast (crates/sprawling/Spec.lean §8-123).
read_nanos: u64How long the beat before this one took to read the counters, by
the sampler’s own monotonic clock; 0 on the first beat
(crates/sprawling/Spec.lean §8-129-6).
beat_ms: u64The beat this reading was sampled at, in milliseconds (§8-47i): what the page’s beat control reads as the current setting.
Trait Implementations§
impl Copy for Sample
Source§impl<'de> Deserialize<'de> for Sample
impl<'de> Deserialize<'de> for Sample
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Sample
impl StructuralPartialEq for Sample
Auto Trait Implementations§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnsafeUnpin for Sample
impl UnwindSafe for Sample
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more