pub struct ProfilingConfig {
pub detailed: bool,
pub min_expected_bandwidth_gbs: f64,
pub max_kernel_duration: Duration,
pub max_transfer_ratio: f64,
pub track_power: bool,
}Expand description
Profiling configuration
Fields§
§detailed: boolEnable detailed profiling
min_expected_bandwidth_gbs: f64Minimum expected memory bandwidth in GB/s
max_kernel_duration: DurationMaximum acceptable kernel duration
max_transfer_ratio: f64Maximum acceptable transfer overhead ratio (0.0 - 1.0)
track_power: boolEnable power consumption tracking (if available)
Trait Implementations§
Source§impl Clone for ProfilingConfig
impl Clone for ProfilingConfig
Source§fn clone(&self) -> ProfilingConfig
fn clone(&self) -> ProfilingConfig
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 ProfilingConfig
impl Debug for ProfilingConfig
Auto Trait Implementations§
impl Freeze for ProfilingConfig
impl RefUnwindSafe for ProfilingConfig
impl Send for ProfilingConfig
impl Sync for ProfilingConfig
impl Unpin for ProfilingConfig
impl UnsafeUnpin for ProfilingConfig
impl UnwindSafe for ProfilingConfig
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