Skip to content
API REFERENCEUsage guides →

cellpack::opt::OnlineStats ​

struct

Module contract · All interfaces

At a glance ​

pub struct OnlineStats {Show 22 fields
    pub accesses: u64,
    pub chunks: u64,
    pub chunk: u64,
    pub horizon: u64,
    pub distance: u64,
    pub shards: usize,
    pub page_uses: u64,
    pub page_hits: u64,
    pub page_admissions: u64,
    pub row_admissions: u64,
    pub row_hits: u64,
    pub block_reads: u64,
    pub requests: u64,
    pub row_candidates: u64,
    pub row_kept: u64,
    pub page_refused: u64,
    pub row_price: f64,
    pub prices: Prices,
    pub modeled_seconds: f64,
    pub worker_seconds: f64,
    pub compile_seconds: f64,
    pub waiting_seconds: f64,
}

What an online compilation did.

Fields and variants ​

accesses ​

accesses: u64

Accesses compiled.

chunks ​

chunks: u64

Chunks the sequence was compiled in.

chunk ​

chunk: u64

Accesses per chunk.

horizon ​

horizon: u64

The horizon H in accesses (the whole sequence offline).

distance ​

distance: u64

The reuse gap D in accesses.

shards ​

shards: usize

Shards the cache was split into.

page_uses ​

page_uses: u64

Page uses that read input.

page_hits ​

page_hits: u64

The uses a residency served.

page_admissions ​

page_admissions: u64

Page residencies admitted.

row_admissions ​

row_admissions: u64

Row residencies admitted.

row_hits ​

row_hits: u64

The accesses a cached row served.

block_reads ​

block_reads: u64

Extra admission reads (block reads), one per run of moved pages (Site::PlanBlock).

requests ​

requests: u64

Read requests the published accesses issue.

row_candidates ​

row_candidates: u64

Row candidates seen.

row_kept ​

row_kept: u64

The row candidates kept.

page_refused ​

page_refused: u64

The page intervals refused for lack of frames.

row_price ​

row_price: f64

The last shadow price of cache capacity (seconds per frame-position), averaged over shards; zero while the page layer refuses nothing, since then capacity is slack.

prices ​

prices: Prices

The last resource prices (seconds per request, byte, core-second and memory byte), averaged over shards: which resource binds.

modeled_seconds ​

modeled_seconds: f64

Modeled seconds of the published accesses (zero without a cost model).

worker_seconds ​

worker_seconds: f64

The modeled core-seconds of the workers (zero without a cost model).

compile_seconds ​

compile_seconds: f64

Wall seconds compiling, the wait for plan ring space excluded.

waiting_seconds ​

waiting_seconds: f64

The seconds spent waiting for ring space.

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