X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5397eadb7c0c0482c2a0e658f772d3c165f4a44a..8734addee4efb8501991834fb99c2da15e9f8482:/src/surf/workstation_ptask_L07.cpp diff --git a/src/surf/workstation_ptask_L07.cpp b/src/surf/workstation_ptask_L07.cpp index 0904cf574c..4bb17add9f 100644 --- a/src/surf/workstation_ptask_L07.cpp +++ b/src/surf/workstation_ptask_L07.cpp @@ -433,25 +433,27 @@ WorkstationL07::WorkstationL07(WorkstationModelPtr model, const char* name, xbt_ double WorkstationL07::getPowerPeakAt(int /*pstate_index*/) { - XBT_DEBUG("[ws_get_power_peak_at] Not implemented for workstation_ptask_L07"); - return 0.0; + THROW_UNIMPLEMENTED; } int WorkstationL07::getNbPstates() { - XBT_DEBUG("[ws_get_nb_pstates] Not implemented for workstation_ptask_L07"); - return 0.0; + THROW_UNIMPLEMENTED; } void WorkstationL07::setPstate(int /*pstate_index*/) { - XBT_DEBUG("[ws_set_power_peak_at] Not implemented for workstation_ptask_L07"); + THROW_UNIMPLEMENTED; +} + +int WorkstationL07::getPstate() +{ + THROW_UNIMPLEMENTED; } double WorkstationL07::getConsumedEnergy() { - XBT_DEBUG("[ws_get_consumed_energy] Not implemented for workstation_ptask_L07"); - return 0.0; + THROW_UNIMPLEMENTED; } CpuL07::CpuL07(CpuL07ModelPtr model, const char* name, xbt_dict_t props,