Appearance
cellpack::opt::defaults::Host
Module contract · All interfaces
At a glance
pub struct Host {
pub memory_bandwidth: f64,
pub access: f64,
pub compile: f64,
pub input: InputCost,
pub rows: RowCost,
pub convert: [f64; 6],
}The host’s worker costs and memory bandwidth.
Fields and variants
memory_bandwidth
memory_bandwidth: f64Bytes per second of cached-row traffic main memory sustains.
access
access: f64Core-seconds of one access’s bookkeeping.
compile
compile: f64Core-seconds of the online compiler, per access.
input
input: InputCostDecoding records.
rows
rows: RowCostCached rows.
convert
Converting an element, per conversion class.
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.