MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / get

Method get

pulley/src/profile.rs:55–60  ·  view source on GitHub ↗

Loads the currently executing program counter, if the interpreter is running.

(&self)

Source from the content-addressed store, hash-verified

53 /// Loads the currently executing program counter, if the interpreter is
54 /// running.
55 pub fn get(&self) -> Option<usize> {
56 match self.0.current_pc.load(Relaxed) {
57 0 => None,
58 n => Some(n),
59 }
60 }
61
62 /// Returns whether the interpreter has been destroyed and will no longer
63 /// execute any code.

Callers 9

xload32le_o32Function · 0.45
xload64le_o32Function · 0.45
xstore32_le_o32Function · 0.45
xstore64_le_o32Function · 0.45
format_hot_blocksMethod · 0.45
build_basic_blocksFunction · 0.45
find_block_for_offsetFunction · 0.45
mainFunction · 0.45
dominator_treeFunction · 0.45

Calls 1

loadMethod · 0.45

Tested by 4

xload32le_o32Function · 0.36
xload64le_o32Function · 0.36
xstore32_le_o32Function · 0.36
xstore64_le_o32Function · 0.36