X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2b3f46a61a583459ab18cc10de139010173de685..6122eb73f603bfafd7fe5a71efdf3ed677be5a6a:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index 380e6b733c..82763d40d3 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -148,9 +148,9 @@ XBT_PUBLIC_CLASS CpuAction : public simgrid::surf::Action { friend XBT_PUBLIC(Cpu*) getActionCpu(CpuAction *action); public: /** @brief Callbacks handler which emit the callbacks after CpuAction State changed * - * @details Callback functions have the following signature: `void(CpuAction *action, e_surf_action_state_t previous)` + * @details Callback functions have the following signature: `void(CpuAction *action, simgrid::surf::Action::State previous)` */ - static simgrid::xbt::signal onStateChange; + static simgrid::xbt::signal onStateChange; CpuAction(simgrid::surf::Model *model, double cost, bool failed) : Action(model, cost, failed) {} //FIXME:DEADCODE? @@ -160,11 +160,10 @@ public: /** @brief Set the affinity of the current CpuAction */ virtual void setAffinity(Cpu *cpu, unsigned long mask); - void setState(e_surf_action_state_t state); + void setState(simgrid::surf::Action::State state) override; - void updateRemainingLazy(double now); + void updateRemainingLazy(double now) override; std::list cpus(); - }; }