pub struct AccessAnalysis {
pub total_blocks: usize,
pub total_accesses: usize,
pub sequential_blocks: usize,
pub random_blocks: usize,
pub avg_temporal_locality: f64,
pub avg_spatial_locality: f64,
pub hot_blocks_threshold: f64,
pub cold_blocks_threshold: f64,
}Expand description
Analysis results for access patterns
Fields§
§total_blocks: usize§total_accesses: usize§sequential_blocks: usize§random_blocks: usize§avg_temporal_locality: f64§avg_spatial_locality: f64§hot_blocks_threshold: f64§cold_blocks_threshold: f64Trait Implementations§
Source§impl Clone for AccessAnalysis
impl Clone for AccessAnalysis
Source§fn clone(&self) -> AccessAnalysis
fn clone(&self) -> AccessAnalysis
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 AccessAnalysis
impl RefUnwindSafe for AccessAnalysis
impl Send for AccessAnalysis
impl Sync for AccessAnalysis
impl Unpin for AccessAnalysis
impl UnwindSafe for AccessAnalysis
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more