Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ description
Method
description
codecarbon/external/hardware.py:38–39 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
36
pass
37
38
def
description(self) -> str:
39
return
repr(self)
40
41
def
measure_power_and_energy(self, last_duration: float) -> Tuple[Power, Energy]:
42
""
"
Callers
1
_initialize_hardware_tracking
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected