- long long int get_counter() { return counter_; }
-
- kernel::activity::ExecImplPtr compute = nullptr; /* SIMIX modeling of computation */
- s4u::CommPtr comm = nullptr; /* S4U modeling of communication */
- double flops_amount = 0.0; /* Computation size */
- double bytes_amount = 0.0; /* Data size */
- msg_process_t sender = nullptr;
- msg_process_t receiver = nullptr;
+ long long int get_id() { return id_; }
+ double get_priority() { return priority_; }
+ void set_priority(double priority);
+ void set_bound(double bound) { bound_ = bound; }
+ double get_bound() { return bound_; }
+ void set_rate(double rate) { rate_ = rate; }
+ double get_rate() { return rate_; }
+ void set_timeout(double timeout) { timeout_ = timeout; }
+
+ s4u::Actor* get_sender();
+ s4u::Host* get_source();
+
+ s4u::ExecPtr compute = nullptr; /* S4U modeling of computation */
+ s4u::CommPtr comm = nullptr; /* S4U modeling of communication */
+ double flops_amount = 0.0; /* Computation size */
+ double bytes_amount = 0.0; /* Data size */