From: Arnaud Giersch Date: Wed, 20 Nov 2013 21:00:08 +0000 (+0100) Subject: Throw unimplemented. X-Git-Tag: v3_11_beta~260 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/91bb8b44ef09735fc79f40a3d9eeb69456a46909 Throw unimplemented. --- diff --git a/src/surf/cpu_ti.hpp b/src/surf/cpu_ti.hpp index cccac330f7..cde7ab9c87 100644 --- a/src/surf/cpu_ti.hpp +++ b/src/surf/cpu_ti.hpp @@ -122,15 +122,15 @@ public: CpuActionPtr sleep(double duration); double getAvailableSpeed(); - xbt_dynar_t getWattsRangeList() {}; - double getCurrentWattsValue(double cpu_load) {}; - void updateEnergy(double cpu_load) {}; - - double getCurrentPowerPeak() {}; - double getPowerPeakAt(int pstate_index) {}; - int getNbPstates() {}; - void setPowerPeakAt(int pstate_index) {}; - double getConsumedEnergy() {}; + xbt_dynar_t getWattsRangeList() {THROW_UNIMPLEMENTED;}; + double getCurrentWattsValue(double cpu_load) {THROW_UNIMPLEMENTED;}; + void updateEnergy(double cpu_load) {THROW_UNIMPLEMENTED;}; + + double getCurrentPowerPeak() {THROW_UNIMPLEMENTED;}; + double getPowerPeakAt(int pstate_index) {THROW_UNIMPLEMENTED;}; + int getNbPstates() {THROW_UNIMPLEMENTED;}; + void setPowerPeakAt(int pstate_index) {THROW_UNIMPLEMENTED;}; + double getConsumedEnergy() {THROW_UNIMPLEMENTED;}; CpuTiTgmrPtr p_availTrace; /*< Structure with data needed to integrate trace file */ tmgr_trace_event_t p_stateEvent; /*< trace file with states events (ON or OFF) */ diff --git a/src/surf/workstation_ptask_L07.hpp b/src/surf/workstation_ptask_L07.hpp index 1678943f8f..fcff2f301d 100644 --- a/src/surf/workstation_ptask_L07.hpp +++ b/src/surf/workstation_ptask_L07.hpp @@ -129,11 +129,11 @@ public: ActionPtr execute(double size) {DIE_IMPOSSIBLE;}; ActionPtr sleep(double duration) {DIE_IMPOSSIBLE;}; - double getCurrentPowerPeak() {}; - double getPowerPeakAt(int pstate_index) {}; - int getNbPstates() {}; - void setPowerPeakAt(int pstate_index) {}; - double getConsumedEnergy() {}; + double getCurrentPowerPeak() {THROW_UNIMPLEMENTED;}; + double getPowerPeakAt(int pstate_index) {THROW_UNIMPLEMENTED;}; + int getNbPstates() {THROW_UNIMPLEMENTED;}; + void setPowerPeakAt(int pstate_index) {THROW_UNIMPLEMENTED;}; + double getConsumedEnergy() {THROW_UNIMPLEMENTED;}; double m_powerCurrent; };