X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b32344ed85aec79b48fdb3c22df878307f13f6f7..4d648ebbbe5705878080b9cbf1ca61497323c592:/include/simgrid/s4u/Exec.hpp diff --git a/include/simgrid/s4u/Exec.hpp b/include/simgrid/s4u/Exec.hpp index 5164ef6223..e7e96103d9 100644 --- a/include/simgrid/s4u/Exec.hpp +++ b/include/simgrid/s4u/Exec.hpp @@ -20,12 +20,10 @@ namespace s4u { * They are generated from this_actor::exec_init() or Host::execute(), and can be used to model pools of threads or * similar mechanisms. */ -class XBT_PUBLIC Exec : public Activity { - std::string name_ = ""; +class XBT_PUBLIC Exec : public Activity_T { double priority_ = 1.0; double bound_ = 0.0; double timeout_ = 0.0; - std::string tracing_category_ = ""; std::atomic_int_fast32_t refcount_{0}; Host* host_ = nullptr; @@ -55,9 +53,7 @@ public: bool test() override; ExecPtr set_bound(double bound); - ExecPtr set_name(const std::string& name); ExecPtr set_priority(double priority); - ExecPtr set_tracing_category(const std::string& category); ExecPtr set_timeout(double timeout); Exec* cancel() override;