Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make the energy plugin usable with ptask (but not DVFS) (fix #27)
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 25 Dec 2015 18:31:14 +0000 (19:31 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 25 Dec 2015 18:31:18 +0000 (19:31 +0100)
commitb4b40408881fd9dfc49a7802d4a83689c506b36b
treeadee5b34c8d208e16da0378bea224b2712dea6fa
parent39dad4230074862d9151e89c0603e255a4187ec5
Make the energy plugin usable with ptask (but not DVFS) (fix #27)

- Move the DVFS mechanism higher in the CPU hierarchy
- Remove all static_casts to CpuCas01 in energy plugin
- Make sure that ptaskL07 can execute sequential tasks

DVFS is still not working: the speedPeak changes have no impact on
ptask actions. I don't understand maxmin enough and need the help of
@alegrand, sorry.
13 files changed:
examples/msg/energy/consumption/energy_consumption.c
examples/msg/energy/consumption/energy_consumption.tesh
src/simix/smx_host.cpp
src/surf/cpu_cas01.cpp
src/surf/cpu_cas01.hpp
src/surf/cpu_interface.cpp
src/surf/cpu_interface.hpp
src/surf/cpu_ti.cpp
src/surf/host_ptask_L07.cpp
src/surf/host_ptask_L07.hpp
src/surf/plugins/energy.cpp
src/surf/surf_c_bindings.cpp
src/surf/surf_interface.hpp