SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "simgrid/s4u/Engine.hpp"
#include "simgrid/s4u/Storage.hpp"
#include "src/kernel/EngineImpl.hpp"
#include "src/simix/smx_private.hpp"
#include "src/include/simgrid/sg_config.h"
#include "src/surf/HostImpl.hpp"
#include "src/surf/cpu_interface.hpp"
#include "src/surf/network_interface.hpp"
#include "src/kernel/routing/ClusterZone.hpp"
#include "src/kernel/routing/DijkstraZone.hpp"
#include "src/kernel/routing/DragonflyZone.hpp"
#include "src/kernel/routing/EmptyZone.hpp"
#include "src/kernel/routing/FatTreeZone.hpp"
#include "src/kernel/routing/FloydZone.hpp"
#include "src/kernel/routing/FullZone.hpp"
#include "src/kernel/routing/NetPoint.hpp"
#include "src/kernel/routing/NetZoneImpl.hpp"
#include "src/kernel/routing/TorusZone.hpp"
#include "src/kernel/routing/VivaldiZone.hpp"
#include <string>
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::surf | |
simgrid::s4u | |
Variables | |
std::map< std::string, simgrid::surf::StorageImpl * > | mount_list |
std::vector< std::string > | known_storages |
simgrid::xbt::signal< void(ClusterCreationArgs *)> | simgrid::surf::on_cluster |
std::map< std::string, simgrid::s4u::Host * > | simgrid::s4u::host_list |
static int | surf_parse_models_setup_already_called = 0 |
std::map< std::string, simgrid::surf::StorageType * > | storage_types |
static simgrid::kernel::routing::NetZoneImpl * | current_routing = nullptr |
The current AS in the parsing. More... | |
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY | ( | surf_parse | ) |
|
static |
void sg_platf_init | ( | ) |
Module management function: creates all internal data structures.
void sg_platf_exit | ( | ) |
Module management function: frees all internal data structures.
void sg_platf_new_host | ( | sg_platf_host_cbarg_t | args | ) |
Add an host to the current AS.
simgrid::kernel::routing::NetPoint* sg_platf_new_router | ( | std::string | name, |
const char * | coords | ||
) |
Add a "router" to the network element list.
void sg_platf_new_link | ( | LinkCreationArgs * | link | ) |
void sg_platf_new_cluster | ( | ClusterCreationArgs * | cluster | ) |
void routing_cluster_add_backbone | ( | simgrid::surf::LinkImpl * | bb | ) |
void sg_platf_new_cabinet | ( | CabinetCreationArgs * | cabinet | ) |
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_route | ( | sg_platf_route_cbarg_t | route | ) |
void sg_platf_new_bypassRoute | ( | sg_platf_route_cbarg_t | bypassRoute | ) |
void sg_platf_new_process | ( | sg_platf_process_cbarg_t | process | ) |
void sg_platf_new_peer | ( | PeerCreationArgs * | peer | ) |
void sg_platf_begin | ( | ) |
void sg_platf_end | ( | ) |
|
static |
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_hostlink | ( | HostLinkCreationArgs * | hostlink | ) |
Add a link connecting an host to the rest of its AS (which must be cluster or vivaldi)
void sg_platf_new_trace | ( | TraceCreationArgs * | trace | ) |
std::map<std::string, simgrid::surf::StorageImpl*> mount_list |
std::vector<std::string> known_storages |
|
static |
std::map<std::string, simgrid::surf::StorageType*> storage_types |
|
static |
The current AS in the parsing.