pub struct CacheCostPoint {
pub budget_bytes: f64,
pub miss_rate: f64,
pub total_cost_us: f64,
pub cost_miss_us: f64,
pub cost_mem_us: f64,
}Expand description
A single evaluation point on the cache cost surface.
Fields§
§budget_bytes: f64Budget in bytes.
miss_rate: f64Miss rate at this budget.
total_cost_us: f64Total cost at this budget (µs/frame).
cost_miss_us: f64Miss component (µs/frame).
cost_mem_us: f64Memory component (µs/frame).
Trait Implementations§
Source§impl Clone for CacheCostPoint
impl Clone for CacheCostPoint
Source§fn clone(&self) -> CacheCostPoint
fn clone(&self) -> CacheCostPoint
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 CacheCostPoint
impl RefUnwindSafe for CacheCostPoint
impl Send for CacheCostPoint
impl Sync for CacheCostPoint
impl Unpin for CacheCostPoint
impl UnsafeUnpin for CacheCostPoint
impl UnwindSafe for CacheCostPoint
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