SimGrid  3.7
Scalable simulation of distributed systems
Data Fields
surf_workstation_model_extension_public Struct Reference

Workstation model extension public. More...

#include <surf.h>

Data Fields

surf_action_t(* execute )(void *workstation, double size)
surf_action_t(* sleep )(void *workstation, double duration)
e_surf_resource_state_t(* get_state )(void *workstation)
double(* get_speed )(void *workstation, double load)
double(* get_available_speed )(void *workstation)
xbt_dynar_t(* get_route )(void *workstation_src, void *workstation_dst)
double(* get_link_bandwidth )(const void *link)
double(* get_link_latency )(const void *link)

Detailed Description

Workstation model extension public.

Public functions specific to the workstation model.


Field Documentation

Execute a computation amount on a workstation and create the corresponding action

surf_action_t(* surf_workstation_model_extension_public::sleep)(void *workstation, double duration)

Make a workstation sleep during a given duration

e_surf_resource_state_t(* surf_workstation_model_extension_public::get_state)(void *workstation)

Return the CPU state of a workstation

double(* surf_workstation_model_extension_public::get_speed)(void *workstation, double load)

Return the speed of a workstation

Return tha available speed of a workstation

xbt_dynar_t(* surf_workstation_model_extension_public::get_route)(void *workstation_src, void *workstation_dst)

Get the list of links between two ws

Return the current bandwidth of a network link

Return the current latency of a network link


The documentation for this struct was generated from the following file:


Back to the main Simgrid Documentation page The version of SimGrid documented here is v3.7.
Documentation of other versions can be found in their respective archive files (directory doc/html).
Generated by doxygen