X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5ed37babb2fa9097abe82df299c0aa259ed84d5a..c6d6e5b87aed9c7080c981b11f91f2d0205623c3:/src/kernel/resource/CpuImpl.hpp diff --git a/src/kernel/resource/CpuImpl.hpp b/src/kernel/resource/CpuImpl.hpp index 3456bfa133..62377021c5 100644 --- a/src/kernel/resource/CpuImpl.hpp +++ b/src/kernel/resource/CpuImpl.hpp @@ -10,6 +10,7 @@ #include "simgrid/s4u/Host.hpp" #include "src/kernel/lmm/maxmin.hpp" #include "src/kernel/resource/Resource.hpp" +#include "xbt/ex.h" #include @@ -77,6 +78,8 @@ public: CpuImpl* set_core_count(int core_count); virtual int get_core_count() const { return core_count_; } + void turn_off() override; + bool is_used() const override { return true; } void seal() override; @@ -170,7 +173,7 @@ protected: * Action * **********/ -/** @ingroup SURF_cpu_interface +/** @ingroup Model_cpu_interface * @brief A CpuAction represents the execution of code on one or several Cpus */ class XBT_PUBLIC CpuAction : public Action {