Skip to content
API REFERENCEUsage guides →

cellpack::opt::defaults::Host ​

struct

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

Bytes per second of cached-row traffic main memory sustains.

access ​

access: f64

Core-seconds of one access’s bookkeeping.

compile ​

compile: f64

Core-seconds of the online compiler, per access.

input ​

input: InputCost

Decoding records.

rows ​

rows: RowCost

Cached rows.

convert ​

convert: [f64; 6]

Converting an element, per conversion class.

Implemented traits ​

impl Clone for Host
impl Debug for Host
impl PartialEq for Host

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