pub struct PerformanceHistory { /* private fields */ }Expand description
Performance history database
Implementations§
Source§impl PerformanceHistory
impl PerformanceHistory
Sourcepub fn record(&mut self, entry: PerformanceEntry)
pub fn record(&mut self, entry: PerformanceEntry)
Record a performance measurement
Sourcepub fn get_best(&self, size: usize, forward: bool) -> Option<FftAlgorithm>
pub fn get_best(&self, size: usize, forward: bool) -> Option<FftAlgorithm>
Get best algorithm for a size
Sourcepub fn get_stats(
&self,
size: usize,
algorithm: FftAlgorithm,
forward: bool,
) -> Option<PerformanceStats>
pub fn get_stats( &self, size: usize, algorithm: FftAlgorithm, forward: bool, ) -> Option<PerformanceStats>
Get statistics for an algorithm at a size
Trait Implementations§
Source§impl Debug for PerformanceHistory
impl Debug for PerformanceHistory
Source§impl Default for PerformanceHistory
impl Default for PerformanceHistory
Source§fn default() -> PerformanceHistory
fn default() -> PerformanceHistory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PerformanceHistory
impl RefUnwindSafe for PerformanceHistory
impl Send for PerformanceHistory
impl Sync for PerformanceHistory
impl Unpin for PerformanceHistory
impl UnsafeUnpin for PerformanceHistory
impl UnwindSafe for PerformanceHistory
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> 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