Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ full_cpu.py
File
full_cpu.py
examples/full_cpu.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
multiprocessing
2
from
time
import
sleep
3
4
from
codecarbon
import
EmissionsTracker
Callers
nothing calls this directly
Calls
3
EmissionsTracker
Class · 0.90
start
Method · 0.45
stop
Method · 0.45
Tested by
no test coverage detected