• Swann Perarnau's avatar
    Partial Revert of powercap API update · ec563afb
    Swann Perarnau authored
    Previous commit 0c93ce6a broke the
    sample code used by the daemon, by reverting the sample function to a
    json message generator. This is due to inconsistencies between the coolr
    code and the NRM import: we removed json generation from coolr, to push
    it on the messaging side, while upstream still does it on sensor
    reading.
    
    This commit fixes that, but doesn't touch the new test code embedded in
    clr_rapl.py
    We will move that the test infrastructure later.
    ec563afb
clr_rapl.py 11.1 KB