SimGrid
3.16
Versatile Simulation of Distributed Systems
|
#include "simgrid/host.h"
#include "src/surf/xml/platf.hpp"
#include <map>
#include <string>
#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 |
class | LinkCreationArgs |
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 |
struct | s_sg_platf_storage_type_cbarg |
struct | s_sg_platf_mount_cbarg |
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 | |
Alltoall Bruck. | |
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 } |
#define YY_TYPEDEF_YY_SIZE_T |
#define SG_PLATF_AS_INITIALIZER {nullptr,0} |
typedef size_t yy_size_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* sg_platf_storage_cbarg_t |
typedef struct s_sg_platf_storage_cbarg s_sg_platf_storage_cbarg_t |
typedef struct s_sg_platf_storage_type_cbarg* sg_platf_storage_type_cbarg_t |
typedef struct s_sg_platf_storage_type_cbarg s_sg_platf_storage_type_cbarg_t |
typedef struct s_sg_platf_mount_cbarg* sg_platf_mount_cbarg_t |
typedef struct s_sg_platf_mount_cbarg s_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 routing_cluster_add_backbone | ( | simgrid::surf::LinkImpl * | bb | ) |
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)
simgrid::kernel::routing::NetPoint* sg_platf_new_router | ( | const char * | name, |
const char * | coords | ||
) |
Add a "router" to the network element list.
void sg_platf_new_link | ( | LinkCreationArgs * | 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.
int surf_parse_get_leng | ( | void | ) |
Get the length of the current token.
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 routing_route_free | ( | sg_platf_route_cbarg_t | route | ) |
void sg_instr_new_router | ( | const char * | name | ) |