pub struct JitCompilerConfig {Show 13 fields
pub enable_aggressive_optimization: bool,
pub enable_vectorization: bool,
pub enable_loop_unrolling: bool,
pub enable_inlining: bool,
pub enable_cross_module_optimization: bool,
pub target_cpu: String,
pub target_features: Vec<String>,
pub optimization_level: u8,
pub enable_debug_info: bool,
pub cache_size_limit_mb: usize,
pub compilation_timeout_seconds: u64,
pub enable_profiling: bool,
pub enable_adaptive_compilation: bool,
}
Expand description
Configuration for JIT compilation
Fields§
§enable_aggressive_optimization: bool
Enable aggressive optimizations
enable_vectorization: bool
Enable vectorization
enable_loop_unrolling: bool
Enable loop unrolling
enable_inlining: bool
Enable function inlining
enable_cross_module_optimization: bool
Enable cross-module optimization
target_cpu: String
Target CPU architecture
target_features: Vec<String>
Target feature set
optimization_level: u8
Optimization level (0-3)
enable_debug_info: bool
Enable debugging information
cache_size_limit_mb: usize
Cache size limit (MB)
compilation_timeout_seconds: u64
Compilation timeout (seconds)
enable_profiling: bool
Enable profiling
enable_adaptive_compilation: bool
Enable adaptive compilation
Trait Implementations§
Source§impl Clone for JitCompilerConfig
impl Clone for JitCompilerConfig
Source§fn clone(&self) -> JitCompilerConfig
fn clone(&self) -> JitCompilerConfig
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 JitCompilerConfig
impl Debug for JitCompilerConfig
Source§impl Default for JitCompilerConfig
impl Default for JitCompilerConfig
Source§impl<'de> Deserialize<'de> for JitCompilerConfig
impl<'de> Deserialize<'de> for JitCompilerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JitCompilerConfig
impl RefUnwindSafe for JitCompilerConfig
impl Send for JitCompilerConfig
impl Sync for JitCompilerConfig
impl Unpin for JitCompilerConfig
impl UnwindSafe for JitCompilerConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more