*/
-/** \addtogroup SURF_simulation
- \ingroup SURF_API */
-/** \addtogroup SURF_actions
- \ingroup SURF_API */
-/** \addtogroup SURF_resources
- \ingroup SURF_API */
-/** \addtogroup SURF_build_api
- \ingroup SURF_API */
-
/** \defgroup SURF_simulation Simulation
\ingroup SURF_API
\brief Functions for creating the environment and launching the simulation
surf_workstation_resource_init_CLM03() or surf_workstation_resource_init_KCCFLN05()
to create the platform.
- Then you can access the workstations and the network links with the global variables \ref workstation_set
- and \ref network_link_set. Some functions in \a surf_workstation_resource->extension_public can give
+ Then you can access the workstations and the network links with
+ the global variables \ref host_lib
+ and \ref link_lib. Some functions in \a surf_workstation_resource->extension_public can give
you some information about:
- a workstation: get_speed(), get_available_speed();
- a network link: get_link_name(), get_link_latency(), get_link_bandwith();
#include "surf/surf_routing.h"
#include "surf/surfxml_parse_values.h"
+/**
+ * @ingroup SURF_build_api
+ * @brief A library containing all known workstations
+ */
xbt_lib_t host_lib;
+
int ROUTING_HOST_LEVEL; //Routing level
int SURF_CPU_LEVEL; //Surf cpu level
int SURF_WKS_LEVEL; //Surf workstation level
int COORD_HOST_LEVEL=0; //Coordinates level
int NS3_HOST_LEVEL; //host node for ns3
+/**
+ * @ingroup SURF_build_api
+ * @brief A library containing all known links
+ */
xbt_lib_t link_lib;
int SD_LINK_LEVEL; //Simdag level
int SURF_LINK_LEVEL; //Surf level