X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/15120cbae733cd144328bd4610dc6091ae6b7bd8..5d6ee66c4a278f168be501318e781c0853085bdc:/include/simgrid/s4u/Exec.hpp diff --git a/include/simgrid/s4u/Exec.hpp b/include/simgrid/s4u/Exec.hpp index 19fa207624..f9a4007f41 100644 --- a/include/simgrid/s4u/Exec.hpp +++ b/include/simgrid/s4u/Exec.hpp @@ -81,6 +81,7 @@ public: double get_finish_time() const; double get_cost() const; bool is_parallel() const { return parallel_; } + bool is_assigned() { return not hosts_.empty(); } }; } // namespace s4u