Appearance
cellpack::opt::OnlineStats
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: u64Accesses compiled.
chunks
chunks: u64Chunks the sequence was compiled in.
chunk
chunk: u64Accesses per chunk.
horizon
horizon: u64The horizon H in accesses (the whole sequence offline).
distance
distance: u64The reuse gap D in accesses.
shards
shards: usizeShards the cache was split into.
page_uses
page_uses: u64Page uses that read input.
page_hits
page_hits: u64The uses a residency served.
page_admissions
page_admissions: u64Page residencies admitted.
row_admissions
row_admissions: u64Row residencies admitted.
row_hits
row_hits: u64The accesses a cached row served.
block_reads
block_reads: u64Extra admission reads (block reads), one per run of moved pages (Site::PlanBlock).
requests
requests: u64Read requests the published accesses issue.
row_candidates
row_candidates: u64Row candidates seen.
row_kept
row_kept: u64The row candidates kept.
page_refused
page_refused: u64The page intervals refused for lack of frames.
row_price
row_price: f64The 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: PricesThe last resource prices (seconds per request, byte, core-second and memory byte), averaged over shards: which resource binds.
modeled_seconds
modeled_seconds: f64Modeled seconds of the published accesses (zero without a cost model).
worker_seconds
worker_seconds: f64The modeled core-seconds of the workers (zero without a cost model).
compile_seconds
compile_seconds: f64Wall seconds compiling, the wait for plan ring space excluded.
waiting_seconds
waiting_seconds: f64The seconds spent waiting for ring space.
Implemented traits
impl Clone for OnlineStatsimpl Debug for OnlineStatsimpl Default for OnlineStatsimpl PartialEq for OnlineStatsContract 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.