SimGrid  3.13
Versatile Simulation of Distributed Systems
Host Management Functions

Functions

xbt_swag_t simcall_host_get_process_list (sg_host_t host)
 
double simcall_host_get_current_power_peak (sg_host_t host)
 
double simcall_host_get_power_peak_at (sg_host_t host, int pstate_index)
 
xbt_dict_t simcall_asr_get_properties (const char *name)
 Returns a dict of the properties assigned to a router or AS. More...
 
e_smx_state_t simcall_execution_wait (smx_synchro_t execution)
 Waits for the completion of an execution synchro and destroy it. More...
 
enum  e_smx_state_t {
  SIMIX_WAITING, SIMIX_READY, SIMIX_RUNNING, SIMIX_DONE,
  SIMIX_CANCELED, SIMIX_FAILED, SIMIX_SRC_HOST_FAILURE, SIMIX_DST_HOST_FAILURE,
  SIMIX_SRC_TIMEOUT, SIMIX_DST_TIMEOUT, SIMIX_LINK_FAILURE
}
 Host datatypeA location (or host) is any possible place where a process may run. More...
 

Detailed Description

Enumeration Type Documentation

Host datatypeA location (or host) is any possible place where a process may run.

Thus it is represented as a physical resource with computing capabilities, some mailboxes to enable running process to communicate with remote ones, and some private data that can be only accessed by local process.

See also
Host Management Functions
Enumerator
SIMIX_WAITING 
SIMIX_READY 
SIMIX_RUNNING 
SIMIX_DONE 
SIMIX_CANCELED 
SIMIX_FAILED 
SIMIX_SRC_HOST_FAILURE 
SIMIX_DST_HOST_FAILURE 
SIMIX_SRC_TIMEOUT 
SIMIX_DST_TIMEOUT 
SIMIX_LINK_FAILURE 

Function Documentation

xbt_swag_t simcall_host_get_process_list ( sg_host_t  host)
double simcall_host_get_current_power_peak ( sg_host_t  host)
double simcall_host_get_power_peak_at ( sg_host_t  host,
int  pstate_index 
)
xbt_dict_t simcall_asr_get_properties ( const char *  name)

Returns a dict of the properties assigned to a router or AS.

Parameters
nameThe name of the router or AS
Returns
The properties
e_smx_state_t simcall_execution_wait ( smx_synchro_t  execution)

Waits for the completion of an execution synchro and destroy it.

Parameters
executionThe execution synchro