#[repr(C)]pub struct CudaLaunchEvent {
pub pid: u32,
_pad: u32,
pub kernel_hash: u64,
pub launch_ns: u64,
pub return_ns: u64,
pub latency_ns: u64,
}Expand description
CUDA kernel launch event from BPF uprobe on cuLaunchKernel. Layout must match struct zernel_cuda_event in common.h.
Fields§
§pid: u32§_pad: u32§kernel_hash: u64§launch_ns: u64§return_ns: u64§latency_ns: u64Trait Implementations§
Source§impl Clone for CudaLaunchEvent
impl Clone for CudaLaunchEvent
Source§fn clone(&self) -> CudaLaunchEvent
fn clone(&self) -> CudaLaunchEvent
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 CudaLaunchEvent
impl Debug for CudaLaunchEvent
Auto Trait Implementations§
impl Freeze for CudaLaunchEvent
impl RefUnwindSafe for CudaLaunchEvent
impl Send for CudaLaunchEvent
impl Sync for CudaLaunchEvent
impl Unpin for CudaLaunchEvent
impl UnwindSafe for CudaLaunchEvent
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