Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Throw unimplemented.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 20 Nov 2013 21:00:08 +0000 (22:00 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 20 Nov 2013 21:22:30 +0000 (22:22 +0100)
src/surf/cpu_ti.hpp
src/surf/workstation_ptask_L07.hpp

index cccac33..cde7ab9 100644 (file)
@@ -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) */
index 1678943..fcff2f3 100644 (file)
@@ -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;
 };