MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / InsertProbe

Method InsertProbe

oneflow/core/vm/virtual_machine_engine.cpp:160–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void VirtualMachineEngine::InsertProbe(
161 const std::function<bool(VirtualMachineEngine*)>& ProbeFunction) {
162 probe_list_.EmplaceBack(intrusive::make_shared<VmProbe>(ProbeFunction));
163}
164
165void VirtualMachineEngine::HandleLocalProbe() {
166 OF_PROFILER_RANGE_GUARD("HandleLocalProbe");

Callers 4

BlockingRunProbeFuncMethod · 0.80
ReceiveMethod · 0.80
CreateThreadCtxMethod · 0.80
CreateStreamMethod · 0.80

Calls 1

EmplaceBackMethod · 0.45

Tested by

no test coverage detected