Skip to main content

TraceEvent

Enum TraceEvent 

Source
pub enum TraceEvent {
Show 19 variants RuntimeInit { seq: u64, refcount: u32, profile_id: String, profile_revision: String, fidelity: String, }, RuntimeShutdown { seq: u64, refcount: u32, }, AgentIterateBegin { seq: u64, agent_count: usize, }, AgentIterateVisit { seq: u64, agent_handle: u64, kind: String, }, AgentGetInfo { seq: u64, agent_handle: u64, attribute: String, outcome: String, }, MemoryAllocate { seq: u64, space_handle: u64, size: usize, ptr: u64, outcome: String, }, MemoryFree { seq: u64, ptr: u64, outcome: String, }, SignalCreate { seq: u64, signal_handle: u64, initial: i64, }, SignalDestroy { seq: u64, signal_handle: u64, }, QueueCreate { seq: u64, queue_id: u64, size: u32, agent_handle: u64, }, QueueDestroy { seq: u64, queue_id: u64, }, QueueDoorbell { seq: u64, queue_id: u64, value: i64, }, QueueIndexStore { seq: u64, queue_id: u64, which: String, value: u64, }, PacketObserved { seq: u64, queue_id: u64, packet_index: u64, packet_type: u16, }, PacketValidateFailed { seq: u64, queue_id: u64, detail: String, }, DispatchValidated { seq: u64, queue_id: u64, packet_index: u64, packet_type: u16, dimensions: u16, workgroup_size: [u16; 3], grid_size: [u32; 3], private_segment_size: u32, group_segment_size: u32, kernel_object: u64, kernarg_class: String, completion_signal: u64, }, DispatchRejected { seq: u64, queue_id: u64, packet_index: u64, packet_type: u16, detail: String, contract: String, }, DiagnosticComplete { seq: u64, queue_id: u64, packet_index: u64, completion_signal: u64, contract: String, note: String, }, Unsupported { seq: u64, api: String, detail: String, },
}
Expand description

Stable event categories for SoftGPU runtime observation.

Variants§

§

RuntimeInit

Fields

§seq: u64
§refcount: u32
§profile_id: String
§profile_revision: String
§fidelity: String
§

RuntimeShutdown

Fields

§seq: u64
§refcount: u32
§

AgentIterateBegin

Fields

§seq: u64
§agent_count: usize
§

AgentIterateVisit

Fields

§seq: u64
§agent_handle: u64
§kind: String
§

AgentGetInfo

Fields

§seq: u64
§agent_handle: u64
§attribute: String
§outcome: String
§

MemoryAllocate

Fields

§seq: u64
§space_handle: u64
§size: usize
§ptr: u64
§outcome: String
§

MemoryFree

Fields

§seq: u64
§ptr: u64
§outcome: String
§

SignalCreate

Fields

§seq: u64
§signal_handle: u64
§initial: i64
§

SignalDestroy

Fields

§seq: u64
§signal_handle: u64
§

QueueCreate

Fields

§seq: u64
§queue_id: u64
§size: u32
§agent_handle: u64
§

QueueDestroy

Fields

§seq: u64
§queue_id: u64
§

QueueDoorbell

Fields

§seq: u64
§queue_id: u64
§value: i64
§

QueueIndexStore

Fields

§seq: u64
§queue_id: u64
§which: String
§value: u64
§

PacketObserved

Fields

§seq: u64
§queue_id: u64
§packet_index: u64
§packet_type: u16
§

PacketValidateFailed

Fields

§seq: u64
§queue_id: u64
§detail: String
§

DispatchValidated

Validated AQL fields; does not imply kernel execution.

Fields

§seq: u64
§queue_id: u64
§packet_index: u64
§packet_type: u16
§dimensions: u16
§workgroup_size: [u16; 3]
§grid_size: [u32; 3]
§private_segment_size: u32
§group_segment_size: u32
§kernel_object: u64
§kernarg_class: String
§completion_signal: u64
§

DispatchRejected

Fields

§seq: u64
§queue_id: u64
§packet_index: u64
§packet_type: u16
§detail: String
§contract: String
§

DiagnosticComplete

Experimental no-execution completion (see docs/aql-diagnostic-contract.md).

Fields

§seq: u64
§queue_id: u64
§packet_index: u64
§completion_signal: u64
§contract: String
§note: String
§

Unsupported

Fields

§seq: u64
§detail: String

Trait Implementations§

Source§

impl Clone for TraceEvent

Source§

fn clone(&self) -> TraceEvent

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TraceEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for TraceEvent

Source§

impl PartialEq for TraceEvent

Source§

fn eq(&self, other: &TraceEvent) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for TraceEvent

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for TraceEvent

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.