pub struct StepTimings {
pub drift_ms: f64,
pub poisson_ms: f64,
pub kick_ms: f64,
pub density_ms: f64,
pub diagnostics_ms: f64,
pub io_ms: f64,
pub other_ms: f64,
}Expand description
Per-step phase timing breakdown in milliseconds.
Populated by instrumented time integrators and Simulation::step().
Fields§
§drift_ms: f64Total time in spatial drift sub-steps (advect_x).
poisson_ms: f64Total time in Poisson solve (density → potential → acceleration).
kick_ms: f64Total time in velocity kick sub-steps (advect_v).
density_ms: f64Time in post-advance density computation (for diagnostics).
diagnostics_ms: f64Time in diagnostics computation (conservation quantities).
io_ms: f64Time in I/O (checkpoints, snapshots).
other_ms: f64Remaining time not attributed to the above phases.
Implementations§
Trait Implementations§
Source§impl Clone for StepTimings
impl Clone for StepTimings
Source§fn clone(&self) -> StepTimings
fn clone(&self) -> StepTimings
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 moreSource§impl Debug for StepTimings
impl Debug for StepTimings
Source§impl Default for StepTimings
impl Default for StepTimings
Source§fn default() -> StepTimings
fn default() -> StepTimings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StepTimings
impl RefUnwindSafe for StepTimings
impl Send for StepTimings
impl Sync for StepTimings
impl Unpin for StepTimings
impl UnsafeUnpin for StepTimings
impl UnwindSafe for StepTimings
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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