Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[ENERGY] Add getter for idle consumption
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 2 Oct 2018 13:22:22 +0000 (15:22 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 2 Oct 2018 14:27:51 +0000 (16:27 +0200)
commit18baa3a0ab674a7402319d489a05e5b5d8b6fa36
treedfca57620944cf928d216ae1ddc7cac4328580d9
parent4dd1310611f8c12b4b9703c703f270c301357e99
[ENERGY] Add getter for idle consumption

We currently still have one idle value per pstate, however this
should change soon. For this reason, this implementation
only uses the value from pstate 0 and will move towards the
next syntax.

Doing this allows us to avoid changing the signature of the
function (as the pstate will then be no longer required).
include/simgrid/plugins/energy.h
src/plugins/host_energy.cpp