X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8372ae97612f27b84e8d75aeeed9de0ba6d2ba6a..eecf563b3a3a0333dac9f754fe11f047c99cd27d:/src/surf/cpu_cas01.hpp diff --git a/src/surf/cpu_cas01.hpp b/src/surf/cpu_cas01.hpp index ae104a08e2..0009db9af2 100644 --- a/src/surf/cpu_cas01.hpp +++ b/src/surf/cpu_cas01.hpp @@ -3,9 +3,8 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include - #include "cpu_interface.hpp" +#include "xbt/base.h" /*********** * Classes * @@ -28,7 +27,6 @@ public: ~CpuCas01Model() override; Cpu *createCpu(simgrid::s4u::Host *host, std::vector *speedPerPstate, int core) override; - kernel::resource::Action::StateSet cpuRunningActionSetThatDoesNotNeedBeingChecked_; }; /************ @@ -64,10 +62,10 @@ public: CpuCas01Action(kernel::resource::Model* model, double cost, bool failed, double speed, kernel::lmm::Constraint* constraint); ~CpuCas01Action() override; - int requestedCore(); + int requested_core(); private: - int requestedCore_ = 1; + int requested_core_ = 1; }; }