#include <wasmtime/conf.h>
#include <wasmtime/config.h>
#include <wasmtime/error.hh>
#include <wasmtime/helpers.hh>
#include <wasmtime/types/memory.hh>
Go to the source code of this file.
◆ OptLevel
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
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
Strategies passed to Config::strategy
| Enumerator |
|---|
| Auto | Automatically selects the compilation strategy.
|
| Cranelift | Requires Cranelift to be used for compilation.
|