pub struct PerfConfig {
pub cache_line_size: usize,
pub cpu_count: usize,
pub numa_nodes: usize,
pub use_lock_free_paths: bool,
pub use_simd: bool,
pub use_cpu_specific: bool,
pub cpu_features: CpuFeatures,
}
Expand description
Performance configuration structure.
Fields§
§cache_line_size: usize
CPU cache line size for alignment
cpu_count: usize
Number of CPU cores
numa_nodes: usize
NUMA node count
use_lock_free_paths: bool
Whether to use lock-free fast paths
use_simd: bool
Whether to use SIMD acceleration
use_cpu_specific: bool
Whether to use CPU-specific optimizations
cpu_features: CpuFeatures
Detected CPU features
Trait Implementations§
Source§impl Clone for PerfConfig
impl Clone for PerfConfig
Source§fn clone(&self) -> PerfConfig
fn clone(&self) -> PerfConfig
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 PerfConfig
impl Debug for PerfConfig
Source§impl Default for PerfConfig
impl Default for PerfConfig
impl Copy for PerfConfig
Auto Trait Implementations§
impl Freeze for PerfConfig
impl RefUnwindSafe for PerfConfig
impl Send for PerfConfig
impl Sync for PerfConfig
impl Unpin for PerfConfig
impl UnwindSafe for PerfConfig
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