[][src]Trait substrate_wasmtime_profiling::ProfilingAgent

pub trait ProfilingAgent: Send + Sync + 'static {
    fn module_load(
        &self,
        module: &Module,
        functions: &PrimaryMap<DefinedFuncIndex, *const [VMFunctionBody]>,
        dbg_image: Option<&[u8]>
    ); }

Common interface for profiling tools.

Required methods

fn module_load(
    &self,
    module: &Module,
    functions: &PrimaryMap<DefinedFuncIndex, *const [VMFunctionBody]>,
    dbg_image: Option<&[u8]>
)

Notify the profiler of a new module loaded into memory

Loading content...

Implementors

impl ProfilingAgent for JitDumpAgent[src]

impl ProfilingAgent for NullProfilerAgent[src]

impl ProfilingAgent for VTuneAgent[src]

Loading content...