pub struct ProfileData {
pub operation: String,
pub call_count: usize,
pub total_time_us: u64,
pub avg_time_us: f64,
pub min_time_us: u64,
pub max_time_us: u64,
pub time_percentage: f64,
}Expand description
Performance profiling data.
Fields§
§operation: StringFunction name or operation description
call_count: usizeNumber of times this operation was called
total_time_us: u64Total time spent in this operation (microseconds)
avg_time_us: f64Average time per call (microseconds)
min_time_us: u64Minimum time for a single call (microseconds)
max_time_us: u64Maximum time for a single call (microseconds)
time_percentage: f64Percentage of total execution time
Trait Implementations§
Source§impl Clone for ProfileData
impl Clone for ProfileData
Source§fn clone(&self) -> ProfileData
fn clone(&self) -> ProfileData
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 ProfileData
impl Debug for ProfileData
Source§impl<'de> Deserialize<'de> for ProfileData
impl<'de> Deserialize<'de> for ProfileData
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 PartialEq for ProfileData
impl PartialEq for ProfileData
Source§impl Serialize for ProfileData
impl Serialize for ProfileData
impl StructuralPartialEq for ProfileData
Auto Trait Implementations§
impl Freeze for ProfileData
impl RefUnwindSafe for ProfileData
impl Send for ProfileData
impl Sync for ProfileData
impl Unpin for ProfileData
impl UnwindSafe for ProfileData
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