pub struct EpistemicGpuTransferBudgetTrace {
pub candidate_count: usize,
pub tracked_dtoh_bytes: u64,
pub tracked_htod_bytes: u64,
pub tracked_dtoh_calls: u64,
pub tracked_htod_calls: u64,
pub tracked_aggregate_htod_bytes: u64,
pub tracked_aggregate_htod_calls: u64,
pub tracked_launch_metadata_htod_bytes: u64,
pub tracked_launch_metadata_htod_calls: u64,
pub tracked_data_plane_htod_bytes: u64,
pub tracked_data_plane_htod_calls: u64,
pub per_candidate_host_round_trips: u64,
}Expand description
Trace proving the epistemic GPU hot path avoided tracked data-plane host transfers.
Fields§
§candidate_count: usizeNumber of candidate rows covered by this transfer-budget check.
tracked_dtoh_bytes: u64Tracked device-to-host bytes observed inside the GPU hot path.
tracked_htod_bytes: u64Tracked data-plane host-to-device bytes observed inside the GPU hot path.
tracked_dtoh_calls: u64Tracked device-to-host calls observed inside the GPU hot path.
tracked_htod_calls: u64Tracked data-plane host-to-device calls observed inside the GPU hot path.
tracked_aggregate_htod_bytes: u64Tracked aggregate host-to-device bytes observed inside the GPU hot path.
tracked_aggregate_htod_calls: u64Tracked aggregate host-to-device calls observed inside the GPU hot path.
tracked_launch_metadata_htod_bytes: u64Tracked launch-metadata host-to-device bytes observed inside the GPU hot path.
tracked_launch_metadata_htod_calls: u64Tracked launch-metadata host-to-device calls observed inside the GPU hot path.
tracked_data_plane_htod_bytes: u64Tracked data-plane host-to-device bytes observed inside the GPU hot path.
tracked_data_plane_htod_calls: u64Tracked data-plane host-to-device calls observed inside the GPU hot path.
per_candidate_host_round_trips: u64Per-candidate host round trips observed inside the GPU hot path.
Implementations§
Source§impl EpistemicGpuTransferBudgetTrace
impl EpistemicGpuTransferBudgetTrace
Sourcepub fn from_host_transfer_stats(
candidate_count: usize,
before: HostTransferStats,
after: HostTransferStats,
) -> Result<Self>
pub fn from_host_transfer_stats( candidate_count: usize, before: HostTransferStats, after: HostTransferStats, ) -> Result<Self>
Build a hot-path transfer trace from provider host-transfer snapshots.
Sourcepub fn from_host_transfer_stats_with_launch_metadata(
candidate_count: usize,
before: HostTransferStats,
after: HostTransferStats,
launch_metadata_before: HostLaunchMetadataTransferStats,
launch_metadata_after: HostLaunchMetadataTransferStats,
) -> Result<Self>
pub fn from_host_transfer_stats_with_launch_metadata( candidate_count: usize, before: HostTransferStats, after: HostTransferStats, launch_metadata_before: HostLaunchMetadataTransferStats, launch_metadata_after: HostLaunchMetadataTransferStats, ) -> Result<Self>
Build a hot-path transfer trace while distinguishing bounded launch metadata host-to-device transfers from data-plane transfers.
Trait Implementations§
Source§impl Clone for EpistemicGpuTransferBudgetTrace
impl Clone for EpistemicGpuTransferBudgetTrace
Source§fn clone(&self) -> EpistemicGpuTransferBudgetTrace
fn clone(&self) -> EpistemicGpuTransferBudgetTrace
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for EpistemicGpuTransferBudgetTrace
impl PartialEq for EpistemicGpuTransferBudgetTrace
Source§fn eq(&self, other: &EpistemicGpuTransferBudgetTrace) -> bool
fn eq(&self, other: &EpistemicGpuTransferBudgetTrace) -> bool
self and other values to be equal, and is used by ==.