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: boolEnable aggressive optimizations
enable_vectorization: boolEnable vectorization
enable_loop_unrolling: boolEnable loop unrolling
enable_inlining: boolEnable function inlining
enable_cross_module_optimization: boolEnable cross-module optimization
target_cpu: StringTarget CPU architecture
target_features: Vec<String>Target feature set
optimization_level: u8Optimization level (0-3)
enable_debug_info: boolEnable debugging information
cache_size_limit_mb: usizeCache size limit (MB)
compilation_timeout_seconds: u64Compilation timeout (seconds)
enable_profiling: boolEnable profiling
enable_adaptive_compilation: boolEnable 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