pub struct ProfileData {
pub kernel_name: String,
pub sm_version: SmVersion,
pub metrics: ProfileMetrics,
pub hotspots: Vec<HotSpot>,
pub branch_stats: Vec<BranchProfile>,
pub memory_access_pattern: MemoryAccessProfile,
}Expand description
Collected profiling information for a single kernel invocation.
This is the primary input to the profile-guided optimizer. Typically constructed from autotune results or external profiler output.
Fields§
§kernel_name: StringName of the profiled kernel.
sm_version: SmVersionTarget SM architecture the profile was gathered on.
metrics: ProfileMetricsAggregate performance metrics.
hotspots: Vec<HotSpot>Hot instruction indices with stall information.
branch_stats: Vec<BranchProfile>Per-branch taken/not-taken statistics.
memory_access_pattern: MemoryAccessProfileMemory access coalescing and caching statistics.
Trait Implementations§
Source§impl Clone for ProfileData
impl Clone for ProfileData
Source§fn clone(&self) -> ProfileData
fn clone(&self) -> ProfileData
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 moreAuto Trait Implementations§
impl Freeze for ProfileData
impl RefUnwindSafe for ProfileData
impl Send for ProfileData
impl Sync for ProfileData
impl Unpin for ProfileData
impl UnsafeUnpin for ProfileData
impl UnwindSafe for ProfileData
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