X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b926615d2e02b1077d531e37297a18a67009ed5a..2fb1fa1697309cad26ab7d472db4f8bfa617e0b4:/src/bindings/python/simgrid_python.cpp diff --git a/src/bindings/python/simgrid_python.cpp b/src/bindings/python/simgrid_python.cpp index aace9c9162..4a9fd8759e 100644 --- a/src/bindings/python/simgrid_python.cpp +++ b/src/bindings/python/simgrid_python.cpp @@ -23,7 +23,7 @@ using simgrid::s4u::ActorPtr; using simgrid::s4u::Engine; using simgrid::s4u::Host; -XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_python, "S4U python"); +XBT_LOG_NEW_DEFAULT_CATEGORY(python, "python"); PYBIND11_DECLARE_HOLDER_TYPE(T, boost::intrusive_ptr); @@ -52,6 +52,8 @@ PYBIND11_MODULE(simgrid, m) /* this_actor namespace */ m.def("execute", py::overload_cast(&simgrid::s4u::this_actor::execute), "Block the actor, computing the given amount of flops"); + m.def("execute", py::overload_cast(&simgrid::s4u::this_actor::execute), + "Block the actor, computing the given amount of flops at the given priority"); m.def("yield_", &simgrid::s4u::this_actor::yield, "Yield the actor"); /* Class Engine */