pub struct NodeProfile {
pub node_id: String,
pub avg_duration_us: u64,
pub max_duration_us: u64,
pub call_count: u64,
pub total_us: u64,
}Expand description
Per-node profiling statistics.
Fields§
§node_id: StringUnique node identifier.
avg_duration_us: u64Average execution duration in microseconds.
max_duration_us: u64Maximum observed execution duration in microseconds.
call_count: u64Total number of times the node was executed.
total_us: u64Cumulative execution time in microseconds.
Implementations§
Source§impl NodeProfile
impl NodeProfile
Trait Implementations§
Source§impl Clone for NodeProfile
impl Clone for NodeProfile
Source§fn clone(&self) -> NodeProfile
fn clone(&self) -> NodeProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NodeProfile
impl RefUnwindSafe for NodeProfile
impl Send for NodeProfile
impl Sync for NodeProfile
impl Unpin for NodeProfile
impl UnsafeUnpin for NodeProfile
impl UnwindSafe for NodeProfile
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