pub struct CriticalPathReport {
pub nodes: Vec<NodeId>,
pub total_latency_ns: u64,
pub bottleneck: NodeId,
}Expand description
The critical-path analysis report.
Fields§
§nodes: Vec<NodeId>Ordered sequence of NodeIds on the critical path, from source to
sink (inclusive). Empty when the graph has no nodes.
total_latency_ns: u64Sum of node latencies along the critical path, in nanoseconds.
bottleneck: NodeIdThe node with the highest individual latency on the critical path.
Zero when nodes is empty.
Trait Implementations§
Source§impl Clone for CriticalPathReport
impl Clone for CriticalPathReport
Source§fn clone(&self) -> CriticalPathReport
fn clone(&self) -> CriticalPathReport
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 CriticalPathReport
impl Debug for CriticalPathReport
Source§impl PartialEq for CriticalPathReport
impl PartialEq for CriticalPathReport
impl Eq for CriticalPathReport
impl StructuralPartialEq for CriticalPathReport
Auto Trait Implementations§
impl Freeze for CriticalPathReport
impl RefUnwindSafe for CriticalPathReport
impl Send for CriticalPathReport
impl Sync for CriticalPathReport
impl Unpin for CriticalPathReport
impl UnsafeUnpin for CriticalPathReport
impl UnwindSafe for CriticalPathReport
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