pub struct IbdHardwareProfile {
pub num_threads: usize,
pub l3_cache_kb: Option<u64>,
pub is_many_core: bool,
}Expand description
Hardware profile detected at first use.
Fields§
§num_threads: usizeFrom std::thread::available_parallelism()
l3_cache_kb: Option<u64>L3 cache size in KB (None if unknown)
is_many_core: boolMany-core system (16+ logical cores)
Trait Implementations§
Source§impl Clone for IbdHardwareProfile
impl Clone for IbdHardwareProfile
Source§fn clone(&self) -> IbdHardwareProfile
fn clone(&self) -> IbdHardwareProfile
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 moreAuto Trait Implementations§
impl Freeze for IbdHardwareProfile
impl RefUnwindSafe for IbdHardwareProfile
impl Send for IbdHardwareProfile
impl Sync for IbdHardwareProfile
impl Unpin for IbdHardwareProfile
impl UnsafeUnpin for IbdHardwareProfile
impl UnwindSafe for IbdHardwareProfile
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