pub struct KernelLaunchStats { /* private fields */ }Expand description
Per-kernel aggregate statistics within a LaunchSummary.
Implementations§
Source§impl KernelLaunchStats
impl KernelLaunchStats
Sourcepub fn kernel_name(&self) -> &str
pub fn kernel_name(&self) -> &str
Returns the kernel function name.
Sourcepub fn launch_count(&self) -> usize
pub fn launch_count(&self) -> usize
Returns the number of launches recorded for this kernel.
Sourcepub fn total_threads(&self) -> u64
pub fn total_threads(&self) -> u64
Returns the total number of threads across all launches.
Returns the total shared memory bytes across all launches.
Trait Implementations§
Source§impl Clone for KernelLaunchStats
impl Clone for KernelLaunchStats
Source§fn clone(&self) -> KernelLaunchStats
fn clone(&self) -> KernelLaunchStats
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 KernelLaunchStats
impl Debug for KernelLaunchStats
Auto Trait Implementations§
impl Freeze for KernelLaunchStats
impl RefUnwindSafe for KernelLaunchStats
impl Send for KernelLaunchStats
impl Sync for KernelLaunchStats
impl Unpin for KernelLaunchStats
impl UnsafeUnpin for KernelLaunchStats
impl UnwindSafe for KernelLaunchStats
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