pub struct McNoHostStats {
pub tracked_htod_calls: u64,
pub tracked_dtoh_calls: u64,
pub untracked_metadata_reads: u64,
pub engine_launches: u64,
pub host_loop_iterations: u64,
pub per_sample_host_launches: u64,
pub host_fixpoint_iterations: u64,
pub per_operator_host_allocations: u64,
}Expand description
No-host-interaction instrumentation for the measured engine region.
Fields§
§tracked_htod_calls: u64Tracked data-plane host-to-device calls inside the measured region.
tracked_dtoh_calls: u64Tracked data-plane device-to-host calls inside the measured region.
untracked_metadata_reads: u64Untracked control-plane metadata reads inside the measured region.
engine_launches: u64Number of kernel launches the engine issued inside the measured region.
host_loop_iterations: u64Number of host-side per-sample loop iterations inside the measured region (structurally zero: the engine has no host sample loop).
per_sample_host_launches: u64Number of per-sample host launches inside the measured region (structurally zero: one global launch covers all worlds).
host_fixpoint_iterations: u64Number of host-side fixpoint-loop iterations inside the measured region (structurally zero: recursion converges device-side). Required by the WCOJ world-batched acceptance contract.
per_operator_host_allocations: u64Number of device allocations issued inside the measured region (must be
zero: every arena is pre-allocated before the region). Backed by the
memory manager’s alloc_count snapshot.
Implementations§
Source§impl McNoHostStats
impl McNoHostStats
Sourcepub fn is_no_host(&self) -> bool
pub fn is_no_host(&self) -> bool
True iff the measured region had no host interaction: no tracked
transfers, no untracked metadata reads, no host sample loop, no
per-sample host launches, no host fixpoint loop, no in-region device
allocations. (A single global engine launch is permitted and is not
per-sample; see Self::engine_launches.)
Trait Implementations§
Source§impl Clone for McNoHostStats
impl Clone for McNoHostStats
Source§fn clone(&self) -> McNoHostStats
fn clone(&self) -> McNoHostStats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more