Skip to content
API REFERENCEUsage guides →

cellpack::loader::RunStats ​

struct

Module contract · All interfaces

At a glance ​

pub struct RunStats {
    pub elapsed: Duration,
    pub setup_elapsed: Duration,
    pub counters: Counters,
    pub io: IoStats,
    pub peak_span: u64,
    pub cache_bytes: u64,
    pub private_bytes: u64,
    pub outputs: Vec<OutputStats>,
    pub profile: Option<ProfileReport>,
    pub online: Option<OnlineStats>,
}

A run’s statistics: event counts, I/O counts, per-schema counts, the bytes it reserved and, if it profiled, the recorded sites.

Fields and variants ​

elapsed ​

elapsed: Duration

Wall time of the workers (and plan thread) after setup.

setup_elapsed ​

setup_elapsed: Duration

Time spent sizing the frame grid and plan ring and building the shared state, before the threads start.

counters ​

counters: Counters

Event counts, summed over workers.

io ​

Read counts, summed over workers.

peak_span ​

peak_span: u64

Most accesses claimed past the frontier.

cache_bytes ​

cache_bytes: u64

Bytes of the plan’s cache frames (cache frames × page size).

private_bytes ​

private_bytes: u64

The workers’ private frames, workers × private frames × page.

outputs ​

outputs: Vec<OutputStats>

Per output schema, in loader order.

profile ​

The sites the run profiled; none without profiling.

online ​

The online compilation of the run’s plan, if any.

Implemented traits ​

impl Clone for RunStats
impl Debug for RunStats
impl Default for RunStats

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition