SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include "simgrid/host.h"
#include "src/surf/xml/platf.hpp"
#include <vector>
#include "src/surf/xml/simgrid_dtd.h"
Classes | |
struct | s_sg_platf_host_cbarg_t |
struct | s_sg_platf_host_link_cbarg_t |
struct | s_sg_platf_router_cbarg_t |
struct | s_sg_platf_link_cbarg_t |
struct | s_sg_platf_peer_cbarg |
struct | s_sg_platf_route_cbarg |
struct | s_sg_platf_cluster_cbarg |
struct | s_sg_platf_cabinet_cbarg |
struct | s_sg_platf_storage_cbarg_t |
struct | s_sg_platf_storage_type_cbarg_t |
struct | s_sg_platf_mount_cbarg_t |
struct | s_sg_platf_prop_cbarg |
struct | s_sg_platf_trace_cbarg |
struct | s_sg_platf_trace_connect_cbarg |
struct | s_sg_platf_process_cbarg |
struct | s_sg_platf_AS_cbarg |
Namespaces | |
simgrid | |
Host datatype from SIMIX POV. | |
simgrid::surf | |
Macros | |
#define | YY_TYPEDEF_YY_SIZE_T |
#define | SG_PLATF_AS_INITIALIZER {nullptr,0} |
Enumerations | |
enum | e_surf_cluster_topology_t { SURF_CLUSTER_DRAGONFLY =3, SURF_CLUSTER_FAT_TREE =2, SURF_CLUSTER_FLAT = 1, SURF_CLUSTER_TORUS = 0 } |
Variables | |
int | surfxml_bufferstack_size |
#define YY_TYPEDEF_YY_SIZE_T |
#define SG_PLATF_AS_INITIALIZER {nullptr,0} |
typedef size_t yy_size_t |
typedef struct s_sg_platf_host_cbarg_t * sg_platf_host_cbarg_t |
typedef struct s_sg_platf_host_link_cbarg_t * sg_platf_host_link_cbarg_t |
typedef struct s_sg_platf_router_cbarg_t * sg_platf_router_cbarg_t |
typedef struct s_sg_platf_link_cbarg_t * sg_platf_link_cbarg_t |
typedef struct s_sg_platf_peer_cbarg* sg_platf_peer_cbarg_t |
typedef struct s_sg_platf_peer_cbarg s_sg_platf_peer_cbarg_t |
typedef struct s_sg_platf_route_cbarg* sg_platf_route_cbarg_t |
typedef struct s_sg_platf_route_cbarg s_sg_platf_route_cbarg_t |
typedef struct s_sg_platf_cluster_cbarg* sg_platf_cluster_cbarg_t |
typedef struct s_sg_platf_cluster_cbarg s_sg_platf_cluster_cbarg_t |
typedef struct s_sg_platf_cabinet_cbarg* sg_platf_cabinet_cbarg_t |
typedef struct s_sg_platf_cabinet_cbarg s_sg_platf_cabinet_cbarg_t |
typedef struct s_sg_platf_storage_cbarg_t * sg_platf_storage_cbarg_t |
typedef struct s_sg_platf_storage_type_cbarg_t * sg_platf_storage_type_cbarg_t |
typedef struct s_sg_platf_mount_cbarg_t * sg_platf_mount_cbarg_t |
typedef struct s_sg_platf_prop_cbarg* sg_platf_prop_cbarg_t |
typedef struct s_sg_platf_prop_cbarg s_sg_platf_prop_cbarg_t |
typedef struct s_sg_platf_trace_cbarg* sg_platf_trace_cbarg_t |
typedef struct s_sg_platf_trace_cbarg s_sg_platf_trace_cbarg_t |
typedef struct s_sg_platf_trace_connect_cbarg* sg_platf_trace_connect_cbarg_t |
typedef struct s_sg_platf_trace_connect_cbarg s_sg_platf_trace_connect_cbarg_t |
typedef struct s_sg_platf_process_cbarg* sg_platf_process_cbarg_t |
typedef struct s_sg_platf_process_cbarg s_sg_platf_process_cbarg_t |
typedef struct s_sg_platf_AS_cbarg* sg_platf_AS_cbarg_t |
typedef struct s_sg_platf_AS_cbarg s_sg_platf_AS_cbarg_t |
void sg_platf_begin | ( | ) |
void sg_platf_end | ( | ) |
simgrid::s4u::NetZone* sg_platf_new_AS_begin | ( | sg_platf_AS_cbarg_t | AS | ) |
Add an AS to the platform.
Add a new autonomous system to the platform. Any elements (such as host, router or sub-AS) added after this call and before the corresponding call to sg_platf_new_AS_seal() will be added to this AS.
Once this function was called, the configuration concerning the used models cannot be changed anymore.
AS | the parameters defining the AS to build. |
void sg_platf_new_AS_seal | ( | ) |
Specify that the description of the current AS is finished.
Once you've declared all the content of your AS, you have to seal it with this call. Your AS is not usable until you call this function.
void sg_platf_new_host | ( | sg_platf_host_cbarg_t | host | ) |
Add an host to the current AS.
void sg_platf_new_hostlink | ( | sg_platf_host_link_cbarg_t | h | ) |
Add a link connecting an host to the rest of its AS (which must be cluster or vivaldi)
void sg_platf_new_router | ( | sg_platf_router_cbarg_t | router | ) |
Add a "router" to the network element list.
void sg_platf_new_link | ( | sg_platf_link_cbarg_t | link | ) |
void sg_platf_new_peer | ( | sg_platf_peer_cbarg_t | peer | ) |
void sg_platf_new_cluster | ( | sg_platf_cluster_cbarg_t | clust | ) |
void sg_platf_new_cabinet | ( | sg_platf_cabinet_cbarg_t | cabinet | ) |
void sg_platf_new_route | ( | sg_platf_route_cbarg_t | route | ) |
void sg_platf_new_bypassRoute | ( | sg_platf_route_cbarg_t | bypassroute | ) |
void sg_platf_new_trace | ( | sg_platf_trace_cbarg_t | trace | ) |
void sg_platf_new_storage | ( | sg_platf_storage_cbarg_t | storage | ) |
void sg_platf_new_storage_type | ( | sg_platf_storage_type_cbarg_t | storage_type | ) |
void sg_platf_new_mount | ( | sg_platf_mount_cbarg_t | mount | ) |
void sg_platf_new_process | ( | sg_platf_process_cbarg_t | process | ) |
void sg_platf_trace_connect | ( | sg_platf_trace_connect_cbarg_t | trace_connect | ) |
int surf_parse_lex | ( | ) |
int surf_parse_get_lineno | ( | void | ) |
Get the current line number.
FILE * surf_parse_get_in | ( | void | ) |
Get the input stream.
FILE * surf_parse_get_out | ( | void | ) |
Get the output stream.
char * surf_parse_get_text | ( | void | ) |
Get the current token.
void surf_parse_set_lineno | ( | int | _line_number | ) |
Set the current line number.
_line_number | line number |
void surf_parse_set_in | ( | FILE * | _in_str | ) |
Set the input stream.
This does not discard the current input buffer.
_in_str | A readable stream. |
void surf_parse_set_out | ( | FILE * | out_str | ) |
int surf_parse_get_debug | ( | void | ) |
void surf_parse_set_debug | ( | int | bdebug | ) |
int surf_parse_lex_destroy | ( | void | ) |
void surfxml_bufferstack_push | ( | int | _new | ) |
void surfxml_bufferstack_pop | ( | int | _new | ) |
void routing_route_free | ( | sg_platf_route_cbarg_t | route | ) |
void sg_instr_AS_begin | ( | sg_platf_AS_cbarg_t | AS | ) |
void sg_instr_new_router | ( | sg_platf_router_cbarg_t | router | ) |
void sg_instr_new_host | ( | simgrid::s4u::Host & | host | ) |
void sg_instr_AS_end | ( | ) |
int surfxml_bufferstack_size |