SimGrid  3.16
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  File
 A simulated file. More...
 
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 is a virtual machine that contains actors. More...
 

Typedefs

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

Functions

void intrusive_ptr_release (Comm *c)
 
void intrusive_ptr_add_ref (Comm *c)
 
XBT_ATTRIB_PUBLIC std::map< std::string, Storage * > * allStorages ()
 
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...
 
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>

◆ MailboxPtr

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

◆ MutexPtr

Function Documentation

◆ intrusive_ptr_release() [1/2]

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

◆ intrusive_ptr_add_ref() [1/2]

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

◆ allStorages()

std::map< std::string, Storage * > * simgrid::s4u::allStorages ( )

◆ intrusive_ptr_add_ref() [2/2]

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

◆ intrusive_ptr_release() [2/2]

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.

◆ host_list

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