MCPcopy Create free account
hub / github.com/mlco2/codecarbon / test_dram_option.py

File test_dram_option.py

examples/rapl/test_dram_option.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env python3
2"""
3Test script comparing CPU-only (package) vs CPU+DRAM power measurement.
4This shows how rapl_include_dram=True gets closer to powerstat's readings.

Callers

nothing calls this directly

Calls 7

IntelRAPLClass · 0.90
from_secondsMethod · 0.80
terminateMethod · 0.80
waitMethod · 0.80
killMethod · 0.80
startMethod · 0.45
get_cpu_detailsMethod · 0.45

Tested by

no test coverage detected