pub struct DebugEvent {
pub event_type: DebugEventType,
pub thread_id: (u32, u32, u32),
pub block_id: (u32, u32, u32),
pub timestamp_ns: u64,
pub message: String,
}Expand description
A single debug event captured during kernel execution.
Fields§
§event_type: DebugEventTypeWhat kind of event occurred.
thread_id: (u32, u32, u32)The CUDA thread index (x, y, z) that triggered the event.
block_id: (u32, u32, u32)The CUDA block index (x, y, z) that triggered the event.
timestamp_ns: u64Timestamp in nanoseconds (monotonic, relative to session start).
message: StringFree-form human-readable message.
Trait Implementations§
Source§impl Clone for DebugEvent
impl Clone for DebugEvent
Source§fn clone(&self) -> DebugEvent
fn clone(&self) -> DebugEvent
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 DebugEvent
impl Debug for DebugEvent
Auto Trait Implementations§
impl Freeze for DebugEvent
impl RefUnwindSafe for DebugEvent
impl Send for DebugEvent
impl Sync for DebugEvent
impl Unpin for DebugEvent
impl UnsafeUnpin for DebugEvent
impl UnwindSafe for DebugEvent
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