Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[ENERGY] Change behavior on 1-core machines
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 11 Sep 2018 08:33:04 +0000 (10:33 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Tue, 2 Oct 2018 14:27:51 +0000 (16:27 +0200)
commit6e39e9e795ef85dc454c72dde17d86a151dba0eb
tree98702fbf0042ab89bdf080824918d1f670052725
parentc13ae8a28b1920f03c168081817bafe9add7567f
[ENERGY] Change behavior on 1-core machines

In fc45b14055d16a944771ccf34cd94f5511e6fb24 the behavior was modified
when a machine specifies the Idle:OneCore:AllCores energy consumption
but only has a single core.

Using the AllCores consumption does make more sense in this case as
it allows users more easily to model full load with MPI+OpenMP applications:
All cores are actually used with OpenMP but only one process uses MPI.

Hence changing the behavior to use the AllCores value instead.
src/plugins/host_energy.cpp