pub struct GpuKernelEvent {
pub timestamp: Timestamp,
pub pid: Pid,
pub kernel_name: String,
pub duration_ns: u64,
pub grid_size: (u32, u32, u32),
pub block_size: (u32, u32, u32),
}Expand description
GPU kernel execution event
Fields§
§timestamp: Timestamp§pid: Pid§kernel_name: String§duration_ns: u64§grid_size: (u32, u32, u32)§block_size: (u32, u32, u32)Trait Implementations§
Source§impl Clone for GpuKernelEvent
impl Clone for GpuKernelEvent
Source§fn clone(&self) -> GpuKernelEvent
fn clone(&self) -> GpuKernelEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GpuKernelEvent
impl Debug for GpuKernelEvent
Source§impl<'de> Deserialize<'de> for GpuKernelEvent
impl<'de> Deserialize<'de> for GpuKernelEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GpuKernelEvent
impl RefUnwindSafe for GpuKernelEvent
impl Send for GpuKernelEvent
impl Sync for GpuKernelEvent
impl Unpin for GpuKernelEvent
impl UnsafeUnpin for GpuKernelEvent
impl UnwindSafe for GpuKernelEvent
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