SimGrid  3.21
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  Barrier
 
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
 Computation Activity, representing the asynchronous disk access. More...
 
class  File
 A simulated file. More...
 
class  FileDescriptorHostExt
 
class  FileSystemStorageExt
 
class  Host
 Some physical resource with computing and networking capabilities on which Actors execute. More...
 
class  Io
 I/O Activity, representing the asynchronous disk access. 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  Semaphore
 A classical semaphore, but blocking in the simulation worldIt is strictly impossible to use a real semaphore, such as sem_init, because it would block the whole simulation. More...
 
class  Storage
 Storage represent the disk resources, usually associated to a given host. More...
 
class  VirtualMachine
 A VM represents a virtual machine (or a container) that hosts actors. More...
 

Functions

template<class T >
void get_filtered_netzones_recursive (s4u::NetZone *current, std::vector< T *> *whereto)
 

Variables

xbt::signal< void()> on_platform_created
 Callback fired when the platform is created (ie, the xml file parsed), right before the actual simulation starts. More...
 
xbt::signal< void()> on_platform_creation
 Callback fired when the platform is about to be created (ie, after any configuration change and just before the resource creation) More...
 
xbt::signal< void()> on_simulation_end
 Callback fired when the main simulation loop ends, just before the end of Engine::run() More...
 
xbt::signal< void(double)> on_time_advance
 Callback fired when the time jumps into the future. More...
 
xbt::signal< void(void)> on_deadlock
 Callback fired when the time cannot advance because of inter-actors deadlock. More...
 

Function Documentation

◆ get_filtered_netzones_recursive()

template<class T >
void simgrid::s4u::get_filtered_netzones_recursive ( s4u::NetZone current,
std::vector< T *> *  whereto 
)

Variable Documentation

◆ on_platform_created

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

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

◆ on_platform_creation

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

Callback fired when the platform is about to be created (ie, after any configuration change and just before the resource creation)

◆ on_simulation_end

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

Callback fired when the main simulation loop ends, just before the end of Engine::run()

◆ on_time_advance

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

Callback fired when the time jumps into the future.

◆ on_deadlock

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

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