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

Method record_executing_pc_for_profiling

pulley/src/interp.rs:1173–1176  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1171 }
1172
1173 fn record_executing_pc_for_profiling(&mut self) {
1174 // Note that this is a no-op if `feature = "profile"` is disabled.
1175 self.executing_pc.record(self.pc.as_ptr().as_ptr() as usize);
1176 }
1177}
1178
1179/// Helper trait to encompass the various addressing modes of Pulley.

Callers 1

before_visitMethod · 0.80

Calls 2

recordMethod · 0.45
as_ptrMethod · 0.45

Tested by

no test coverage detected