Appearance
cellpack::loader::Counters
Module contract · All interfaces
At a glance
pub struct Counters {Show 19 fields
pub accesses: u64,
pub decoded_rows: u64,
pub mapped_rows: u64,
pub process_calls: u64,
pub written_bytes: u64,
pub page_uses: u64,
pub page_hits: u64,
pub page_reads: u64,
pub admitted: u64,
pub block_reads: u64,
pub row_hits: u64,
pub row_gather_bytes: u64,
pub rows_admitted: u64,
pub row_admit_bytes: u64,
pub waited: u64,
pub window_stalls: u64,
pub plan_stalls: u64,
pub output_stalls: u64,
pub starved: u64,
}Event counts every run keeps.
Fields and variants
accesses
accesses: u64Accesses delivered: one per schema of every position.
decoded_rows
decoded_rows: u64Records decoded (each shared input decodes once).
mapped_rows
mapped_rows: u64Rows mapped to an output, with or without a process call.
process_calls
process_calls: u64Calls into a schema’s process function.
written_bytes
written_bytes: u64Bytes of outputs written: one schema’s cell_bytes per access.
page_uses
page_uses: u64Pages of the records the accesses decoded (a row hit has none).
page_hits
page_hits: u64Page uses served from a frame an earlier access admitted.
page_reads
page_reads: u64Pages read, whatever frame they went to.
admitted
admitted: u64Pages read into cache frames by admission reads.
block_reads
block_reads: u64Extra admission reads (block reads), one per request.
row_hits
row_hits: u64Inputs served from a cached row (one per distinct cell of a position).
row_gather_bytes
row_gather_bytes: u64Bytes gathered for row hits.
rows_admitted
rows_admitted: u64Rows decoded into cache frames.
row_admit_bytes
row_admit_bytes: u64Bytes written for row admissions.
waited
waited: u64Tasks that waited for a frame another access admits.
window_stalls
window_stalls: u64Claim attempts refused by the execution window or by a gate other than the plan frontier.
plan_stalls
plan_stalls: u64Claim attempts refused because the plan ring has no entry at the claim counter yet.
output_stalls
output_stalls: u64Claim attempts refused because the next output slot was not open for writing yet.
starved
starved: u64Tasks whose private-page reads had to wait for free frames.
Member index
Methods and associated constants
NAMES
Field names, in word order.
words
The counts in Self::NAMES order.
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.