SimGrid
3.18
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 |
class | HostLinkCreationArgs |
class | LinkCreationArgs |
class | PeerCreationArgs |
struct | s_sg_platf_route_cbarg_t |
class | ClusterCreationArgs |
class | CabinetCreationArgs |
class | StorageCreationArgs |
class | StorageTypeCreationArgs |
class | MountCreationArgs |
struct | s_sg_platf_prop_cbarg_t |
class | TraceCreationArgs |
class | TraceConnectCreationArgs |
struct | s_sg_platf_process_cbarg_t |
class | ZoneCreationArgs |
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::surf | |
Macros | |
#define | YY_TYPEDEF_YY_SIZE_T |
Typedefs | |
typedef size_t | yy_size_t |
typedef s_sg_platf_host_cbarg_t * | sg_platf_host_cbarg_t |
typedef s_sg_platf_route_cbarg_t * | sg_platf_route_cbarg_t |
typedef s_sg_platf_prop_cbarg_t * | sg_platf_prop_cbarg_t |
typedef s_sg_platf_process_cbarg_t * | sg_platf_process_cbarg_t |
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 |
typedef size_t yy_size_t |
void routing_cluster_add_backbone | ( | simgrid::surf::LinkImpl * | bb | ) |
void sg_platf_begin | ( | ) |
void sg_platf_end | ( | ) |
simgrid::s4u::NetZone* sg_platf_new_Zone_begin | ( | ZoneCreationArgs * | zone | ) |
Add a Zone to the platform.
Add a new autonomous system to the platform. Any elements (such as host, router or sub-Zone) added after this call and before the corresponding call to sg_platf_new_Zone_seal() will be added to this Zone.
Once this function was called, the configuration concerning the used models cannot be changed anymore.
zone | the parameters defining the Zone to build. |
void sg_platf_new_Zone_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 | ( | HostLinkCreationArgs * | h | ) |
Add a link connecting an host to the rest of its AS (which must be cluster or vivaldi)
void sg_platf_new_link | ( | LinkCreationArgs * | link | ) |
void sg_platf_new_peer | ( | PeerCreationArgs * | peer | ) |
void sg_platf_new_cluster | ( | ClusterCreationArgs * | clust | ) |
void sg_platf_new_cabinet | ( | CabinetCreationArgs * | cabinet | ) |
simgrid::kernel::routing::NetPoint* sg_platf_new_router | ( | std::string | , |
const char * | coords | ||
) |
Add a "router" to the network element list.
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 | ( | TraceCreationArgs * | trace | ) |
void sg_platf_new_storage | ( | StorageCreationArgs * | storage | ) |
void sg_platf_new_storage_type | ( | StorageTypeCreationArgs * | storage_type | ) |
void sg_platf_new_mount | ( | MountCreationArgs * | mount | ) |
void sg_platf_new_process | ( | sg_platf_process_cbarg_t | process | ) |
void sg_platf_trace_connect | ( | TraceConnectCreationArgs * | 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 | ) |