Appearance
cellpack::loader::RunStats
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: DurationWall time of the workers (and plan thread) after setup.
setup_elapsed
setup_elapsed: DurationTime spent sizing the frame grid and plan ring and building the shared state, before the threads start.
counters
counters: CountersEvent counts, summed over workers.
io
io: IoStatsRead counts, summed over workers.
peak_span
peak_span: u64Most accesses claimed past the frontier.
cache_bytes
cache_bytes: u64Bytes of the plan’s cache frames (cache frames × page size).
private_bytes
private_bytes: u64The workers’ private frames, workers × private frames × page.
outputs
outputs: Vec<OutputStats>Per output schema, in loader order.
profile
profile: Option<ProfileReport>The sites the run profiled; none without profiling.
online
online: Option<OnlineStats>The online compilation of the run’s plan, if any.
Implemented traits
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.