pub struct BatchCostPoint {
pub batch_size: u64,
pub num_batches: u64,
pub total_cost_us: f64,
pub overhead_us: f64,
pub processing_us: f64,
pub latency_us: f64,
}Expand description
A single evaluation point on the batch cost surface.
Fields§
§batch_size: u64Batch size.
num_batches: u64Number of batches.
total_cost_us: f64Total cost (µs).
overhead_us: f64Overhead component (µs).
processing_us: f64Processing component (µs).
latency_us: f64Latency component (µs).
Trait Implementations§
Source§impl Clone for BatchCostPoint
impl Clone for BatchCostPoint
Source§fn clone(&self) -> BatchCostPoint
fn clone(&self) -> BatchCostPoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BatchCostPoint
impl RefUnwindSafe for BatchCostPoint
impl Send for BatchCostPoint
impl Sync for BatchCostPoint
impl Unpin for BatchCostPoint
impl UnsafeUnpin for BatchCostPoint
impl UnwindSafe for BatchCostPoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more