X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/51f7d61cb232ea7e32eebd6fb0e0a11ca7f5b391..6c56800bdad43cabb6c870c9163bbeea694d6692:/src/surf/cpu_cas01.hpp diff --git a/src/surf/cpu_cas01.hpp b/src/surf/cpu_cas01.hpp index 66561982bf..b5279e4532 100644 --- a/src/surf/cpu_cas01.hpp +++ b/src/surf/cpu_cas01.hpp @@ -6,17 +6,17 @@ #ifndef SIMGRID_SURF_CPUCAS01_HPP #define SIMGRID_SURF_CPUCAS01_HPP -#include "cpu_interface.hpp" +#include "src/kernel/resource/CpuImpl.hpp" #include "xbt/base.h" -/*********** - * Classes * - ***********/ - namespace simgrid { namespace kernel { namespace resource { +/*********** + * Classes * + ***********/ + class XBT_PRIVATE CpuCas01Model; class XBT_PRIVATE CpuCas01; class XBT_PRIVATE CpuCas01Action; @@ -51,8 +51,6 @@ public: CpuAction* sleep(double duration) override; void set_factor_cb(const std::function& cb) override; - bool is_used() const override; - protected: void on_speed_change() override; };