SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include <boost/intrusive/list.hpp>
#include <functional>
#include <map>
#include <vector>
#include <xbt/Extendable.hpp>
#include <xbt/base.h>
#include "popping_private.hpp"
#include "simgrid/simix.h"
#include "ActorImpl.hpp"
#include "src/kernel/activity/ExecImpl.hpp"
Classes | |
class | simgrid::simix::Host |
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::simix | |
Functions | |
void | SIMIX_host_add_auto_restart_process (sg_host_t host, const char *name, std::function< void()> code, void *data, double kill_time, std::map< std::string, std::string > *properties, int auto_restart) |
Add a process to the list of the processes that the host will restart when it comes back This function add a process to the list of the processes that will be restarted when the host comes back. More... | |
void | SIMIX_host_autorestart (sg_host_t host) |
Restart the list of processes that have been registered to the host. More... | |
void | SIMIX_execution_finish (smx_activity_t synchro) |
void | SIMIX_set_category (smx_activity_t synchro, const char *category) |
boost::intrusive_ptr< simgrid::kernel::activity::ExecImpl > | SIMIX_execution_start (const char *name, double flops_amount, double priority, double bound, sg_host_t host) |
boost::intrusive_ptr< simgrid::kernel::activity::ExecImpl > | SIMIX_execution_parallel_start (const char *name, int host_nb, sg_host_t *host_list, double *flops_amount, double *bytes_amount, double rate, double timeout) |
void SIMIX_host_add_auto_restart_process | ( | sg_host_t | host, |
const char * | name, | ||
std::function< void()> | code, | ||
void * | data, | ||
double | kill_time, | ||
std::map< std::string, std::string > * | properties, | ||
int | auto_restart | ||
) |
Add a process to the list of the processes that the host will restart when it comes back This function add a process to the list of the processes that will be restarted when the host comes back.
It is expected that this function is called when the host is down. The processes will only be restarted once, meaning that you will have to register the process again to restart the process again.
Restart the list of processes that have been registered to the host.
void SIMIX_execution_finish | ( | smx_activity_t | synchro | ) |
void SIMIX_set_category | ( | smx_activity_t | synchro, |
const char * | category | ||
) |
boost::intrusive_ptr<simgrid::kernel::activity::ExecImpl> SIMIX_execution_start | ( | const char * | name, |
double | flops_amount, | ||
double | priority, | ||
double | bound, | ||
sg_host_t | host | ||
) |
boost::intrusive_ptr<simgrid::kernel::activity::ExecImpl> SIMIX_execution_parallel_start | ( | const char * | name, |
int | host_nb, | ||
sg_host_t * | host_list, | ||
double * | flops_amount, | ||
double * | bytes_amount, | ||
double | rate, | ||
double | timeout | ||
) |