Skip to content
API REFERENCEUsage guides →

cellpack::opt::PlanSummary ​

struct

Module contract · All interfaces

At a glance ​

pub struct PlanSummary {Show 31 fields
    pub accesses: u64,
    pub page_uses: u64,
    pub page_hits: u64,
    pub requests: u64,
    pub read_bytes: u64,
    pub page_residencies: u64,
    pub row_residencies: u64,
    pub block_reads: u64,
    pub decoded_rows: u64,
    pub decoded_elements: u64,
    pub cold_rows: u64,
    pub row_hits: u64,
    pub row_elements: u64,
    pub row_bytes: u64,
    pub admitted_elements: u64,
    pub admitted_bytes: u64,
    pub mapped_elements: Vec<u64>,
    pub filled_elements: Vec<u64>,
    pub converted_elements: [u64; 6],
    pub process_calls: Vec<u64>,
    pub partial_calls: Vec<u64>,
    pub partial_elements: Vec<u64>,
    pub peak_bytes: u64,
    pub concurrent_peak_bytes: u64,
    pub quarter_uses: [u64; 4],
    pub quarter_hits: [u64; 4],
    pub quarter_requests: [u64; 4],
    pub quarter_seconds: [f64; 4],
    pub quarter_worker_seconds: [f64; 4],
    pub worker_seconds: f64,
    pub quarter_service_seconds: [[f64; 4]; 4],
}

The serial execution of a plan, as an independent replay counts it.

Fields and variants ​

accesses ​

accesses: u64

Accesses in the sequence.

page_uses ​

page_uses: u64

Page uses of accesses that read input.

page_hits ​

page_hits: u64

The uses a residency serves.

requests ​

requests: u64

Read requests: runs of pages an access reads, and extra admission reads.

read_bytes ​

read_bytes: u64

The bytes those requests read.

page_residencies ​

page_residencies: u64

Page residencies.

row_residencies ​

row_residencies: u64

The row residencies.

block_reads ​

block_reads: u64

Extra admission reads (block reads).

decoded_rows ​

decoded_rows: u64

Records decoded.

decoded_elements ​

decoded_elements: u64

Their stored elements.

cold_rows ​

cold_rows: u64

Those decoded in a cold chunk.

row_hits ​

row_hits: u64

Accesses served by a cached row.

row_elements ​

row_elements: u64

The served rows’ image elements.

row_bytes ​

row_bytes: u64

The served rows’ payload bytes.

admitted_elements ​

admitted_elements: u64

Elements of the rows admitted.

admitted_bytes ​

admitted_bytes: u64

Payload bytes of the rows admitted.

mapped_elements ​

mapped_elements: Vec<u64>

Elements each schema maps, per schema.

filled_elements ​

filled_elements: Vec<u64>

The dense default fills, per schema.

converted_elements ​

converted_elements: [u64; 6]

Elements converted, per conversion class.

process_calls ​

process_calls: Vec<u64>

Per schema: process function calls.

partial_calls ​

partial_calls: Vec<u64>

Per schema: partial process calls.

partial_elements ​

partial_elements: Vec<u64>

The stored elements those partial calls saw.

peak_bytes ​

peak_bytes: u64

Most cache bytes held at once in the serial order.

concurrent_peak_bytes ​

concurrent_peak_bytes: u64

The same, with every residency reserved from start − D (what the frames must hold).

quarter_uses ​

quarter_uses: [u64; 4]

Page uses per quarter of the sequence (one epoch of a 4-epoch run).

quarter_hits ​

quarter_hits: [u64; 4]

Page hits per quarter.

quarter_requests ​

quarter_requests: [u64; 4]

Read requests per quarter.

quarter_seconds ​

quarter_seconds: [f64; 4]

Modeled seconds per quarter; zero without a cost model.

quarter_worker_seconds ​

quarter_worker_seconds: [f64; 4]

Modeled core-seconds of the workers per quarter.

worker_seconds ​

worker_seconds: f64

The modeled core-seconds of the workers over the sequence.

quarter_service_seconds ​

quarter_service_seconds: [[f64; 4]; 4]

Each resource’s service time per quarter (requests, bytes, cores, memory; see CostModel::service): which one binds.

Member index ​

2 of 2 members

  • quarter_accessesAccesses in each quarter; the quarters split the sequence the same way the per-quarter counters do.
  • secondsModeled seconds of the whole sequence: the quarters summed.

Methods and associated constants ​

quarter_accesses ​

pub fn quarter_accesses(&self) -> [u64; 4]

Accesses in each quarter; the quarters split the sequence the same way the per-quarter counters do.

seconds ​

pub fn seconds(&self) -> f64

Modeled seconds of the whole sequence: the quarters summed.

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.

Definition