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

Method start

codecarbon/core/rapl.py:67–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 return Energy.from_ujoules(0)
66
67 def start(self) -> None:
68 self.last_energy = self._get_value()
69
70 def delta(self, duration: Time) -> None:
71 """

Calls 1

_get_valueMethod · 0.95

Tested by 1