SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "mc/mc.h"
#include "smx_private.hpp"
#include "src/kernel/activity/CommImpl.hpp"
#include "src/mc/mc_replay.hpp"
#include "src/plugins/vm/VirtualMachineImpl.hpp"
#include "src/surf/surf_interface.hpp"
#include "xbt/ex.hpp"
#include <algorithm>
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::simix | |
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (simix_host, simix, "SIMIX hosts") | |
void | SIMIX_host_off (sg_host_t h, smx_actor_t issuer) |
Stop the host if it is on. More... | |
sg_host_t | sg_host_self () |
const char * | sg_host_self_get_name () |
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... | |
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 | simcall_HANDLER_execution_wait (smx_simcall_t simcall, smx_activity_t synchro) |
void | simcall_HANDLER_execution_test (smx_simcall_t simcall, smx_activity_t synchro) |
void | SIMIX_execution_finish (smx_activity_t synchro) |
void | SIMIX_set_category (smx_activity_t synchro, const char *category) |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | simix_host | , |
simix | , | ||
"SIMIX hosts" | |||
) |
void SIMIX_host_off | ( | sg_host_t | h, |
smx_actor_t | issuer | ||
) |
Stop the host if it is on.
sg_host_t sg_host_self | ( | ) |
const char* sg_host_self_get_name | ( | ) |
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.
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 simcall_HANDLER_execution_wait | ( | smx_simcall_t | simcall, |
smx_activity_t | synchro | ||
) |
void simcall_HANDLER_execution_test | ( | smx_simcall_t | simcall, |
smx_activity_t | synchro | ||
) |
void SIMIX_execution_finish | ( | smx_activity_t | synchro | ) |
void SIMIX_set_category | ( | smx_activity_t | synchro, |
const char * | category | ||
) |