Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
2 fixes in host-energy plugin
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 8 Mar 2019 16:52:01 +0000 (17:52 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 8 Mar 2019 16:52:07 +0000 (17:52 +0100)
commit26191079786a3ba1bd8d8c00c1931cb487635876
treeafa37c925e93552828a6f5c7aee761b885afee5e
parentcffacfbf6561ea5deeaba9fbc5a794680fb59e80
2 fixes in host-energy plugin

- When computing the current watts, consistently use the pstate that
  was set at the beginning of the previous period.
  (the pstate at the end of the period was used to determinate whether
  or not we are in boot/shutdown state, ie, whether speed==0)
- Do not mark as used hosts that are just turned on and off. This is
  to be consistent with the tesh files while fixing the other bug.
src/plugins/host_energy.cpp