SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::s4u Namespace Reference

Namespaces

 this_actor
 Static methods working on the current actor (see s4u::Actor)
 

Classes

class  Activity
 Activities. More...
 
class  Actor
 An actor is an independent stream of execution in your distributed application. More...
 
class  Comm
 Communication async. More...
 
class  ConditionVariable
 A condition variableThis is a drop-in replacement of std::condition_variable and should respect the same semantic. More...
 
class  Engine
 Simulation engine. More...
 
class  Exec
 
class  Host
 An host represents some physical resource with computing and networking capabilities. More...
 
class  Link
 A Link represents the network facilities between hosts. More...
 
class  Mailbox
 Mailboxes: Network rendez-vous points. More...
 
class  Mutex
 A classical mutex, but blocking in the simulation worldIt is strictly impossible to use a real mutex, such as std::mutex or pthread_mutex_t, because it would block the whole simulation. More...
 
class  NetZone
 Networking Zones. More...
 
class  Storage
 
class  VirtualMachine
 A VM represents a virtual machine (or a container) that hosts actors. More...
 

Typedefs

using ConditionVariablePtr = ConditionVariable::Ptr
 
using ActorPtr = boost::intrusive_ptr< Actor >
 
using CommPtr = boost::intrusive_ptr< Comm >
 
using ExecPtr = boost::intrusive_ptr< Exec >
 
using MailboxPtr = boost::intrusive_ptr< Mailbox >
 
using MutexPtr = Mutex::Ptr
 

Functions

void intrusive_ptr_release (Actor *actor)
 
void intrusive_ptr_add_ref (Actor *actor)
 
void intrusive_ptr_release (Comm *c)
 
void intrusive_ptr_add_ref (Comm *c)
 
void intrusive_ptr_release (Exec *e)
 
void intrusive_ptr_add_ref (Exec *e)
 
XBT_ATTRIB_PUBLIC void getStorageList (std::map< std::string, Storage *> *whereTo)
 
void intrusive_ptr_add_ref (ConditionVariable *cond)
 
void intrusive_ptr_release (ConditionVariable *cond)
 
static s4u::NetZonenetzoneByNameRecursive (s4u::NetZone *current, const char *name)
 

Variables

xbt::signal< void()> onPlatformCreated
 Callback fired when the platform is created (ie, the xml file parsed), right before the actual simulation starts. More...
 
xbt::signal< void()> onSimulationEnd
 Callback fired when the main simulation loop ends, just before MSG_run (or similar) ends. More...
 
xbt::signal< void(double)> onTimeAdvance
 Callback fired when the time jumps into the future. More...
 
xbt::signal< void(void)> onDeadlock
 Callback fired when the time cannot jump because of inter-actors deadlock. More...
 
std::map< std::string, simgrid::s4u::Host * > host_list
 

Typedef Documentation

◆ ConditionVariablePtr

◆ ActorPtr

using simgrid::s4u::ActorPtr = typedef boost::intrusive_ptr<Actor>

◆ CommPtr

using simgrid::s4u::CommPtr = typedef boost::intrusive_ptr<Comm>

◆ ExecPtr

using simgrid::s4u::ExecPtr = typedef boost::intrusive_ptr<Exec>

◆ MailboxPtr

using simgrid::s4u::MailboxPtr = typedef boost::intrusive_ptr<Mailbox>

◆ MutexPtr

Function Documentation

◆ intrusive_ptr_release() [1/4]

void simgrid::s4u::intrusive_ptr_release ( Actor actor)

◆ intrusive_ptr_add_ref() [1/4]

void simgrid::s4u::intrusive_ptr_add_ref ( Actor actor)

◆ intrusive_ptr_release() [2/4]

void simgrid::s4u::intrusive_ptr_release ( Comm c)

◆ intrusive_ptr_add_ref() [2/4]

void simgrid::s4u::intrusive_ptr_add_ref ( Comm c)

◆ intrusive_ptr_release() [3/4]

void simgrid::s4u::intrusive_ptr_release ( Exec e)

◆ intrusive_ptr_add_ref() [3/4]

void simgrid::s4u::intrusive_ptr_add_ref ( Exec e)

◆ getStorageList()

void simgrid::s4u::getStorageList ( std::map< std::string, Storage *> *  whereTo)

◆ intrusive_ptr_add_ref() [4/4]

void simgrid::s4u::intrusive_ptr_add_ref ( ConditionVariable cond)

◆ intrusive_ptr_release() [4/4]

void simgrid::s4u::intrusive_ptr_release ( ConditionVariable cond)

◆ netzoneByNameRecursive()

static s4u::NetZone* simgrid::s4u::netzoneByNameRecursive ( s4u::NetZone current,
const char *  name 
)
static

Variable Documentation

◆ onPlatformCreated

xbt::signal< void()> simgrid::s4u::onPlatformCreated

Callback fired when the platform is created (ie, the xml file parsed), right before the actual simulation starts.

◆ onSimulationEnd

xbt::signal< void()> simgrid::s4u::onSimulationEnd

Callback fired when the main simulation loop ends, just before MSG_run (or similar) ends.

◆ onTimeAdvance

xbt::signal< void(double)> simgrid::s4u::onTimeAdvance

Callback fired when the time jumps into the future.

◆ onDeadlock

xbt::signal< void(void)> simgrid::s4u::onDeadlock

Callback fired when the time cannot jump because of inter-actors deadlock.

◆ host_list

std::map< std::string, simgrid::s4u::Host * > simgrid::s4u::host_list