MCPcopy Create free account
hub / github.com/mlco2/codecarbon / terminate

Method terminate

tests/cli/test_monitor.py:137–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 raise monitor_module.subprocess.TimeoutExpired("cmd", timeout)
136
137 def terminate(self):
138 process_info["terminated"] += 1
139
140 def kill(self):
141 process_info["killed"] += 1

Callers 4

run_and_monitorFunction · 0.80
test_rapl_fix.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected