pub struct Resources {
pub wall_seconds: f64,
pub cpu_user_seconds: Option<f64>,
pub cpu_system_seconds: Option<f64>,
pub peak_rss_bytes: Option<u64>,
pub waited_for_input_seconds: Option<f64>,
}Expand description
Time and memory used.
Fields§
§wall_seconds: f64Wall-clock time of the run.
cpu_user_seconds: Option<f64>CPU time in user mode; None where it is not measured (the desktop app’s process time
includes drawing the interface).
cpu_system_seconds: Option<f64>CPU time in kernel mode; None where it is not measured.
peak_rss_bytes: Option<u64>Peak resident memory; None where it is not measured.
waited_for_input_seconds: Option<f64>Time the counting threads waited for input; None when the analysis did not finish (it
failed or was cancelled).
Trait Implementations§
impl StructuralPartialEq for Resources
Auto Trait Implementations§
impl Freeze for Resources
impl RefUnwindSafe for Resources
impl Send for Resources
impl Sync for Resources
impl Unpin for Resources
impl UnsafeUnpin for Resources
impl UnwindSafe for Resources
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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