pub struct FunctionCallTrackingInfo {
pub function_name: String,
pub module_path: String,
pub total_call_count: u64,
pub call_frequency_per_sec: f64,
pub avg_execution_time_ns: f64,
pub total_execution_time_ns: u64,
pub call_stack_info: CallStackInfo,
pub memory_allocations_per_call: f64,
pub performance_characteristics: FunctionPerformanceCharacteristics,
pub call_patterns: Vec<CallPattern>,
}Expand description
Function call tracking information.
Fields§
§function_name: StringFunction name.
module_path: StringModule path.
total_call_count: u64Total call count.
call_frequency_per_sec: f64Call frequency per second.
avg_execution_time_ns: f64Average execution time per call.
total_execution_time_ns: u64Total execution time.
call_stack_info: CallStackInfoCall stack information.
memory_allocations_per_call: f64Memory allocations per call.
performance_characteristics: FunctionPerformanceCharacteristicsPerformance characteristics.
call_patterns: Vec<CallPattern>Call patterns.
Trait Implementations§
Source§impl Clone for FunctionCallTrackingInfo
impl Clone for FunctionCallTrackingInfo
Source§fn clone(&self) -> FunctionCallTrackingInfo
fn clone(&self) -> FunctionCallTrackingInfo
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 FunctionCallTrackingInfo
impl Debug for FunctionCallTrackingInfo
Source§impl<'de> Deserialize<'de> for FunctionCallTrackingInfo
impl<'de> Deserialize<'de> for FunctionCallTrackingInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<FunctionCallTrackingInfo> for FunctionCallTrackingInfo
impl From<FunctionCallTrackingInfo> for FunctionCallTrackingInfo
Source§fn from(old: FunctionCallTrackingInfo) -> Self
fn from(old: FunctionCallTrackingInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FunctionCallTrackingInfo
impl PartialEq for FunctionCallTrackingInfo
Source§impl Serialize for FunctionCallTrackingInfo
impl Serialize for FunctionCallTrackingInfo
impl StructuralPartialEq for FunctionCallTrackingInfo
Auto Trait Implementations§
impl Freeze for FunctionCallTrackingInfo
impl RefUnwindSafe for FunctionCallTrackingInfo
impl Send for FunctionCallTrackingInfo
impl Sync for FunctionCallTrackingInfo
impl Unpin for FunctionCallTrackingInfo
impl UnsafeUnpin for FunctionCallTrackingInfo
impl UnwindSafe for FunctionCallTrackingInfo
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> 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