pub struct KernelStats {
pub kernel_name: String,
pub launch_count: u32,
pub total_time_ms: f64,
pub avg_time_ms: f64,
pub min_time_ms: f64,
pub max_time_ms: f64,
pub avg_occupancy: f64,
}Expand description
Aggregated statistics for a single kernel across multiple launches.
Fields§
§kernel_name: StringName of the kernel.
launch_count: u32Number of times this kernel was launched.
total_time_ms: f64Total GPU time across all launches in milliseconds.
avg_time_ms: f64Average GPU time per launch in milliseconds.
min_time_ms: f64Minimum GPU time observed in milliseconds.
max_time_ms: f64Maximum GPU time observed in milliseconds.
avg_occupancy: f64Average achieved occupancy across launches.
Trait Implementations§
Source§impl Clone for KernelStats
impl Clone for KernelStats
Source§fn clone(&self) -> KernelStats
fn clone(&self) -> KernelStats
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 KernelStats
impl Debug for KernelStats
Auto Trait Implementations§
impl Freeze for KernelStats
impl RefUnwindSafe for KernelStats
impl Send for KernelStats
impl Sync for KernelStats
impl Unpin for KernelStats
impl UnsafeUnpin for KernelStats
impl UnwindSafe for KernelStats
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