Skip to content
API REFERENCEUsage guides →

cellpack::loader::Counters ​

struct

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: u64

Accesses delivered: one per schema of every position.

decoded_rows ​

decoded_rows: u64

Records decoded (each shared input decodes once).

mapped_rows ​

mapped_rows: u64

Rows mapped to an output, with or without a process call.

process_calls ​

process_calls: u64

Calls into a schema’s process function.

written_bytes ​

written_bytes: u64

Bytes of outputs written: one schema’s cell_bytes per access.

page_uses ​

page_uses: u64

Pages of the records the accesses decoded (a row hit has none).

page_hits ​

page_hits: u64

Page uses served from a frame an earlier access admitted.

page_reads ​

page_reads: u64

Pages read, whatever frame they went to.

admitted ​

admitted: u64

Pages read into cache frames by admission reads.

block_reads ​

block_reads: u64

Extra admission reads (block reads), one per request.

row_hits ​

row_hits: u64

Inputs served from a cached row (one per distinct cell of a position).

row_gather_bytes ​

row_gather_bytes: u64

Bytes gathered for row hits.

rows_admitted ​

rows_admitted: u64

Rows decoded into cache frames.

row_admit_bytes ​

row_admit_bytes: u64

Bytes written for row admissions.

waited ​

waited: u64

Tasks that waited for a frame another access admits.

window_stalls ​

window_stalls: u64

Claim attempts refused by the execution window or by a gate other than the plan frontier.

plan_stalls ​

plan_stalls: u64

Claim attempts refused because the plan ring has no entry at the claim counter yet.

output_stalls ​

output_stalls: u64

Claim attempts refused because the next output slot was not open for writing yet.

starved ​

starved: u64

Tasks whose private-page reads had to wait for free frames.

Member index ​

2 of 2 members

  • NAMESField names, in word order.
  • wordsThe counts in Self::NAMES order.

Methods and associated constants ​

NAMES ​

pub const NAMES: &'static [&'static str]

Field names, in word order.

words ​

pub fn words(&self) -> impl Iterator<Item = u64>

The counts in Self::NAMES order.

Implemented traits ​

impl Clone for Counters
impl Debug for Counters
impl Default for Counters

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