pub struct LaunchSummary { /* private fields */ }Expand description
Aggregate statistics over all recorded kernel launches.
Produced by LaunchLogger::summary, this provides per-kernel
launch counts and total launch counts for analysis and debugging.
Implementations§
Source§impl LaunchSummary
impl LaunchSummary
Sourcepub fn total_launches(&self) -> usize
pub fn total_launches(&self) -> usize
Returns the total number of kernel launches across all kernels.
Sourcepub fn per_kernel(&self) -> &HashMap<String, KernelLaunchStats>
pub fn per_kernel(&self) -> &HashMap<String, KernelLaunchStats>
Returns per-kernel statistics as a map keyed by kernel name.
Sourcepub fn unique_kernels(&self) -> usize
pub fn unique_kernels(&self) -> usize
Returns the number of distinct kernels that were launched.
Sourcepub fn kernel_stats(&self, name: &str) -> Option<&KernelLaunchStats>
pub fn kernel_stats(&self, name: &str) -> Option<&KernelLaunchStats>
Returns the statistics for a specific kernel by name, if present.
Trait Implementations§
Source§impl Debug for LaunchSummary
impl Debug for LaunchSummary
Auto Trait Implementations§
impl Freeze for LaunchSummary
impl RefUnwindSafe for LaunchSummary
impl Send for LaunchSummary
impl Sync for LaunchSummary
impl Unpin for LaunchSummary
impl UnsafeUnpin for LaunchSummary
impl UnwindSafe for LaunchSummary
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