pub struct ProfileData {
pub total_samples: u64,
pub thread_samples: BTreeMap<ThreadId, ThreadProfileData>,
pub hot_spots: Vec<HotSpot>,
pub memory_patterns: MemoryProfile,
pub context_switch_analysis: ContextSwitchProfile,
pub scheduler_metrics: SchedulerProfile,
pub time_range: (Instant, Instant),
}
Expand description
Aggregated profiling data for analysis.
Fields§
§total_samples: u64
Total samples collected
thread_samples: BTreeMap<ThreadId, ThreadProfileData>
Samples by thread
hot_spots: Vec<HotSpot>
Hot functions/addresses
memory_patterns: MemoryProfile
Memory allocation patterns
context_switch_analysis: ContextSwitchProfile
Context switch analysis
scheduler_metrics: SchedulerProfile
Scheduler performance metrics
time_range: (Instant, Instant)
Profiling time range
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 moreAuto 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