|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include "xbt/log.h"#include "simgrid/s4u/Actor.hpp"#include "simgrid/s4u/comm.hpp"#include "simgrid/s4u/host.hpp"#include "simgrid/s4u/Mailbox.hpp"#include "src/kernel/context/Context.hpp"Namespaces | |
| simgrid | |
| Host datatype from SIMIX POV. | |
| simgrid::s4u | |
| simgrid::s4u::this_actor | |
| Static methods working on the current actor (see s4u::Actor) | |
Functions | |
| XBT_LOG_NEW_DEFAULT_CATEGORY (s4u_actor,"S4U actors") | |
| void | simgrid::s4u::this_actor::sleep_for (double duration) |
| Block the actor sleeping for that amount of seconds (may throws hostFailure) More... | |
| void | simgrid::s4u::this_actor::sleep_until (double timeout) |
| e_smx_state_t | simgrid::s4u::this_actor::execute (double flop) |
| Block the actor, computing the given amount of flops. More... | |
| void * | simgrid::s4u::this_actor::recv (MailboxPtr chan) |
| Block the actor until it gets a message from the given mailbox. More... | |
| void | simgrid::s4u::this_actor::send (MailboxPtr chan, void *payload, size_t simulatedSize) |
| Block the actor until it delivers a message of the given simulated size to the given mailbox. More... | |
| int | simgrid::s4u::this_actor::getPid () |
| Return the PID of the current actor. More... | |
| int | simgrid::s4u::this_actor::getPpid () |
| Return the PPID of the current actor. More... | |
| XBT_LOG_NEW_DEFAULT_CATEGORY | ( | s4u_actor | , |
| "S4U actors" | |||
| ) |