Struct basic_dsp::MultiCoreSettings
[−]
[src]
pub struct MultiCoreSettings { pub core_limit: usize, pub early_temp_allocation: bool, }
Holds parameters which specifiy how multiple cores are used to execute an operation.
Fields
core_limit: usize
All operations will be limited to not create more threads than specified here
early_temp_allocation: bool
Indicates whether the temp arrays of a vector should already be allocated during construction
Methods
impl MultiCoreSettings
[src]
fn default() -> MultiCoreSettings
Creates multi core settings with default values
fn new(core_limit: usize, early_temp_allocation: bool) -> MultiCoreSettings
Creates multi core settings with the given values.
Trait Implementations
impl Copy for MultiCoreSettings
[src]
impl Debug for MultiCoreSettings
[src]
impl Clone for MultiCoreSettings
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more