Appearance
cellpack::opt::Prices
Module contract · All interfaces
At a glance
Marginal seconds of a window’s modeled time per unit of each load: the gradient of a smoothed T at the loads it was taken at. Saving loads x is worth prices.value(x) seconds.
Fields and variants
request
request: f64Seconds per read request.
byte
byte: f64Seconds per byte read.
core
core: f64Seconds per core-second of worker work.
memory
memory: f64Seconds per byte of cached-row memory traffic.
Member index
1 of 1 members
valueSeconds saved by removing loads x at these prices, and the cost of adding them.
Methods and associated constants
value
Seconds saved by removing loads x at these prices, and the cost of adding them.
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.