Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:simgrid/simgrid
[simgrid.git] / src / s4u / s4u_Activity.cpp
index 3e3b92f030e188f6e2733eccdc3cc717e9079175..55bba1e56ffe90031e6a051732df913cd22a5610 100644 (file)
@@ -65,6 +65,11 @@ Activity* Activity::resume()
   return this;
 }
 
+const char* Activity::get_state_str() const
+{
+  return to_c_str(state_);
+}
+
 double Activity::get_remaining() const
 {
   if (state_ == State::INITED || state_ == State::STARTING)