pub struct ProfileConfig {
pub track_time: bool,
pub track_memory: bool,
pub track_passes: bool,
pub track_cache: bool,
pub min_duration_ms: u64,
}Expand description
Configuration for compilation profiling.
Fields§
§track_time: boolEnable time tracking
track_memory: boolEnable memory tracking
track_passes: boolEnable detailed pass-level profiling
track_cache: boolEnable cache statistics
min_duration_ms: u64Minimum duration to report (filter noise)
Trait Implementations§
Source§impl Clone for ProfileConfig
impl Clone for ProfileConfig
Source§fn clone(&self) -> ProfileConfig
fn clone(&self) -> ProfileConfig
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 ProfileConfig
impl Debug for ProfileConfig
Auto Trait Implementations§
impl Freeze for ProfileConfig
impl RefUnwindSafe for ProfileConfig
impl Send for ProfileConfig
impl Sync for ProfileConfig
impl Unpin for ProfileConfig
impl UnwindSafe for ProfileConfig
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