X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e966171888ad6e89634c621a5dc0d8b980d0db81..d04fca45db7b95d95da6615e54a38c467ef3c230:/src/surf/plugins/energy.hpp?ds=sidebyside diff --git a/src/surf/plugins/energy.hpp b/src/surf/plugins/energy.hpp index 682ae46d83..9b776be2a4 100644 --- a/src/surf/plugins/energy.hpp +++ b/src/surf/plugins/energy.hpp @@ -22,6 +22,8 @@ public: double getCurrentWattsValue(double cpu_load); double getConsumedEnergy(); + double getWattMinAt(int pstate); + double getWattMaxAt(int pstate); xbt_dynar_t getWattsRangeList(); xbt_dynar_t power_range_watts_list; /*< List of (min_power,max_power) pairs corresponding to each cpu pstate */