X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a66bc491e9aaf23fb2a76e9d1f0e189be5ee6663..55c213429acfbb56f761aadbbf4f5144a2e7d5c2:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index f964483be7..17df5019df 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -302,7 +302,8 @@ XBT_ATTRIB_DEPRECATED_v320("Use sleep_for(): v3.20 will turn this warning into a /** Block the actor, computing the given amount of flops */ XBT_PUBLIC(void) execute(double flop); -/** Block the actor, computing the given amount of flops and priority */ +/** Block the actor, computing the given amount of flops at the given priority. + * An execution of priority 2 computes twice as fast as an execution at priority 1. */ XBT_PUBLIC(void) execute(double flop, double priority); /** Block the actor until it gets a message from the given mailbox. @@ -328,10 +329,10 @@ XBT_ATTRIB_DEPRECATED_v320("Use Mailbox::put(): v3.20 will turn this warning int XBT_ATTRIB_DEPRECATED_v320("Use Mailbox::put_async(): v3.20 will turn this warning into an error.") XBT_PUBLIC(CommPtr) isend(MailboxPtr chan, void* payload, double simulatedSize); -/** @brief Returns the actor ID of the current actor (same as pid). */ +/** @brief Returns the actor ID of the current actor). */ XBT_PUBLIC(aid_t) getPid(); -/** @brief Returns the ancestor's actor ID of the current actor (same as ppid). */ +/** @brief Returns the ancestor's actor ID of the current actor. */ XBT_PUBLIC(aid_t) getPpid(); /** @brief Returns the name of the current actor. */