- void setUsed();
- void setNotUsed() { this->isused = false; }
-
- simgrid::kernel::activity::ExecImplPtr compute = nullptr; /* SIMIX modeling of computation */
- simgrid::kernel::activity::CommImplPtr comm = nullptr; /* SIMIX modeling of communication */
- double bytes_amount = 0.0; /* Data size */
+ void set_used();
+ void set_not_used() { this->is_used = false; }
+
+ const std::string& get_name() const { return name_; }
+ const char* get_cname() { return name_.c_str(); }
+ void set_name(const char* new_name) { name_ = std::string(new_name); }
+ void set_tracing_category(const char* category) { tracing_category_ = category ? std::string(category) : ""; }
+ const std::string& get_tracing_category() { return tracing_category_; }
+ bool has_tracing_category() { return not tracing_category_.empty(); }
+
+ kernel::activity::ExecImplPtr compute = nullptr; /* SIMIX modeling of computation */
+ s4u::CommPtr comm = nullptr; /* S4U modeling of communication */