Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_monitor
Function · 0.80
test_dram_option.py
File · 0.80
test_rapl_fix.py
File · 0.80
test_default_dram.py
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected