SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
Host management.
A host is a place where a task can be executed.
A host is represented as a physical resource with computing capabilities and has a name.
The hosts are created from the description file when you call the function SD_create_environment.
Functions | |
SD_link_t * | SD_route_get_list (sg_host_t src, sg_host_t dst) |
Returns the route between two workstations. More... | |
int | SD_route_get_size (sg_host_t src, sg_host_t dst) |
Returns the number of links on the route between two workstations. More... | |
double | SD_route_get_latency (sg_host_t src, sg_host_t dst) |
Returns the latency of the route between two workstations. More... | |
double | SD_route_get_bandwidth (sg_host_t src, sg_host_t dst) |
Returns the bandwidth of the route between two workstations, i.e. More... | |
Returns the route between two workstations.
Use SD_route_get_size() to know the array size.
src | a host |
dst | another host |
Returns the number of links on the route between two workstations.
src | a workstation |
dst | another workstation |
Returns the latency of the route between two workstations.
src | the first workstation |
dst | the second workstation |
Returns the bandwidth of the route between two workstations, i.e.
the minimum link bandwidth of all between the workstations.
src | the first workstation |
dst | the second workstation |