pub struct RsvdTimings {
pub total: Duration,
pub gemm: Duration,
pub qr: Duration,
pub small_svd: Duration,
}Expand description
Time spent in one RSVD composite, including sketch construction and index work.
The GEMM and QR counters allow comparison with the total before considering moving the composite upstream. They include operation dispatch overhead and are observational diagnostics, not a performance guarantee.
§Examples
use tensor4all_core::RsvdTimings;
let timings = RsvdTimings::default();
assert_eq!(timings.gemm + timings.qr + timings.small_svd, timings.total);Fields§
§total: DurationWhole RSVD driver, including validation, sampling and factor assembly.
gemm: DurationSketch products, power-iteration products, projection and lifting.
qr: DurationThin QR operations, including reorthogonalization in power iterations.
small_svd: DurationSVD of the projected matrix, including rank slicing and index assembly.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RsvdTimings
impl RefUnwindSafe for RsvdTimings
impl Send for RsvdTimings
impl Sync for RsvdTimings
impl Unpin for RsvdTimings
impl UnsafeUnpin for RsvdTimings
impl UnwindSafe for RsvdTimings
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
U: Sized,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
U: Sized,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
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