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

Method start

codecarbon/core/cpu.py:860–865  ·  view source on GitHub ↗

Starts monitoring CPU energy consumption.

(self)

Source from the content-addressed store, hash-verified

858 return self._cpu_details
859
860 def start(self) -> None:
861 """
862 Starts monitoring CPU energy consumption.
863 """
864 for rapl_file in self._rapl_files:
865 rapl_file.start()
866
867
868class TDP:

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected