Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a sg_actor_self_execute function
[simgrid.git] / src / s4u / s4u_Actor.cpp
index aa175c6..438c476 100644 (file)
@@ -689,6 +689,11 @@ sg_actor_t sg_actor_self()
   return simgrid::s4u::Actor::self();
 }
 
+void sg_actor_self_execute(double flops)
+{
+  simgrid::s4u::this_actor::execute(flops);
+}
+
 /** @brief Take an extra reference on that actor to prevent it to be garbage-collected */
 void sg_actor_ref(sg_actor_t actor)
 {