Wasmtime
config.hh File Reference

Go to the source code of this file.

Data Structures

class  wasmtime::PoolAllocationConfig
 Pool allocation configuration for Wasmtime. More...
 
class  wasmtime::Config
 Configuration for Wasmtime. More...
 

Enumerations

enum class  wasmtime::Strategy { Auto = WASMTIME_STRATEGY_AUTO , Cranelift = WASMTIME_STRATEGY_CRANELIFT }
 Strategies passed to Config::strategy More...
 
enum class  wasmtime::OptLevel { None = WASMTIME_OPT_LEVEL_NONE , Speed = WASMTIME_OPT_LEVEL_SPEED , SpeedAndSize = WASMTIME_OPT_LEVEL_SPEED_AND_SIZE }
 Values passed to Config::cranelift_opt_level More...
 
enum class  wasmtime::ProfilingStrategy { None = WASMTIME_PROFILING_STRATEGY_NONE , Jitdump = WASMTIME_PROFILING_STRATEGY_JITDUMP , Vtune = WASMTIME_PROFILING_STRATEGY_VTUNE , Perfmap = WASMTIME_PROFILING_STRATEGY_PERFMAP }
 Values passed to Config::profiler More...
 

Enumeration Type Documentation

◆ OptLevel

enum class wasmtime::OptLevel
strong

Values passed to Config::cranelift_opt_level

Enumerator
None 

No extra optimizations performed.

Speed 

Optimize for speed.

SpeedAndSize 

Optimize for speed and generated code size.

◆ ProfilingStrategy

enum class wasmtime::ProfilingStrategy
strong

Values passed to Config::profiler

Enumerator
None 

No profiling enabled.

Jitdump 

Profiling hooks via perf's jitdump.

Vtune 

Profiling hooks via VTune.

Perfmap 

Profiling hooks via perfmap.

◆ Strategy

enum class wasmtime::Strategy
strong

Strategies passed to Config::strategy

Enumerator
Auto 

Automatically selects the compilation strategy.

Cranelift 

Requires Cranelift to be used for compilation.