MCPcopy Create free account
hub / github.com/apple/foundationdb / killProcess

Function killProcess

fdbrpc/sim2.actor.cpp:1689–1694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1687 }
1688 }
1689 void killProcess(ProcessInfo* machine, KillType kt) override {
1690 TraceEvent("AttemptingKillProcess").detail("ProcessInfo", machine->toString());
1691 if (kt < RebootAndDelete) {
1692 killProcess_internal(machine, kt);
1693 }
1694 }
1695 void killInterface(NetworkAddress address, KillType kt) override {
1696 if (kt < RebootAndDelete) {
1697 std::vector<ProcessInfo*>& processes = machines[addressMap[address]->locality.machineId()].processes;

Callers 1

execTaskFunction · 0.70

Calls 4

TraceEventClass · 0.85
killProcess_internalFunction · 0.85
detailMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected