/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "src/surf/AsCluster.hpp"
+#include "src/routing/AsCluster.hpp"
#include "src/surf/network_interface.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_cluster, surf, "Routing part of surf");
#ifndef SIMGRID_ROUTING_CLUSTER_HPP_
#define SIMGRID_ROUTING_CLUSTER_HPP_
-#include "src/surf/AsImpl.hpp"
+#include "src/routing/AsImpl.hpp"
namespace simgrid {
namespace routing {
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "src/surf/AsClusterDragonfly.hpp"
+#include "src/routing/AsClusterDragonfly.hpp"
#include "src/surf/network_interface.hpp"
#include "src/surf/xml/platf.hpp" // FIXME: move that back to the parsing area
#ifndef SURF_ROUTING_CLUSTER_DRAGONFLY_HPP_
#define SURF_ROUTING_CLUSTER_DRAGONFLY_HPP_
-#include "src/surf/AsCluster.hpp"
+#include "src/routing/AsCluster.hpp"
namespace simgrid {
namespace routing {
#include <fstream>
#include <sstream>
-#include "src/surf/AsClusterFatTree.hpp"
+#include "src/routing/AsClusterFatTree.hpp"
#include "src/surf/network_interface.hpp"
#include "xbt/lib.h"
#ifndef SIMGRID_ROUTING_CLUSTER_FAT_TREE_HPP_
#define SIMGRID_ROUTING_CLUSTER_FAT_TREE_HPP_
-#include "src/surf/AsCluster.hpp"
+#include "src/routing/AsCluster.hpp"
namespace simgrid {
namespace routing {
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "src/surf/AsClusterTorus.hpp"
+#include "src/routing/AsClusterTorus.hpp"
#include "src/surf/network_interface.hpp"
#include "src/surf/xml/platf.hpp" // FIXME: move that back to the parsing area
#ifndef SURF_ROUTING_CLUSTER_TORUS_HPP_
#define SURF_ROUTING_CLUSTER_TORUS_HPP_
-#include "src/surf/AsCluster.hpp"
+#include "src/routing/AsCluster.hpp"
namespace simgrid {
namespace routing {
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "src/surf/AsDijkstra.hpp"
+#include "src/routing/AsDijkstra.hpp"
#include "src/surf/network_interface.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_dijkstra, surf, "Routing part of surf -- dijkstra routing logic");
#ifndef SURF_ROUTING_DIJKSTRA_HPP_
#define SURF_ROUTING_DIJKSTRA_HPP_
-#include "src/surf/AsRoutedGraph.hpp"
+#include "src/routing/AsRoutedGraph.hpp"
typedef struct graph_node_data {
int id;
#include "xbt/log.h"
#include "xbt/dynar.h"
-#include "src/surf/AsFloyd.hpp"
+#include "src/routing/AsFloyd.hpp"
#include "src/surf/network_interface.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_floyd, surf, "Routing part of surf");
#ifndef SURF_ROUTING_FLOYD_HPP_
#define SURF_ROUTING_FLOYD_HPP_
-#include "src/surf/AsRoutedGraph.hpp"
+#include "src/routing/AsRoutedGraph.hpp"
namespace simgrid {
namespace routing {
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "src/surf/AsFull.hpp"
+#include "src/routing/AsFull.hpp"
#include "src/surf/network_interface.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_full, surf, "Routing part of surf");
#ifndef SIMGRID_ROUTING_FULL_HPP_
#define SIMGRID_ROUTING_FULL_HPP_
-#include "src/surf/AsRoutedGraph.hpp"
+#include "src/routing/AsRoutedGraph.hpp"
namespace simgrid {
namespace routing {
#include "xbt/log.h"
-#include "src/surf/AsImpl.hpp"
+#include "src/routing/AsImpl.hpp"
#include "src/surf/network_interface.hpp" // Link FIXME: move to proper header
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(AsImpl,surf, "Implementation of S4U autonomous systems");
#include <xbt/graph.h>
#include <xbt/log.h>
-#include "src/surf/AsNone.hpp"
+#include "src/routing/AsNone.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
#ifndef SURF_ROUTING_NONE_HPP_
#define SURF_ROUTING_NONE_HPP_
-#include "src/surf/AsImpl.hpp"
+#include "src/routing/AsImpl.hpp"
namespace simgrid {
namespace routing {
#include "xbt/dynar.h"
#include "xbt/graph.h"
-#include "src/surf/AsRoutedGraph.hpp"
+#include "src/routing/AsRoutedGraph.hpp"
#include "src/surf/network_interface.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_routing_generic, surf_route, "Generic implementation of the surf routing");
#ifndef SIMGRID_ROUTING_GENERIC_HPP_
#define SIMGRID_ROUTING_GENERIC_HPP_
-#include "src/surf/AsImpl.hpp"
+#include "src/routing/AsImpl.hpp"
namespace simgrid {
namespace routing {
#include <simgrid/s4u/host.hpp>
-#include "src/surf/AsVivaldi.hpp"
+#include "src/routing/AsVivaldi.hpp"
#include "src/surf/network_interface.hpp"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_vivaldi, surf, "Routing part of surf");
#ifndef SURF_ROUTING_VIVALDI_HPP_
#define SURF_ROUTING_VIVALDI_HPP_
-#include "src/surf/AsCluster.hpp"
+#include "src/routing/AsCluster.hpp"
namespace simgrid {
namespace routing {
*
* @param host the vm host to get_phys_host (a sg_host_t)
*/
-void *SIMIX_vm_get_pm(sg_host_t ind_vm)
+void *SIMIX_vm_get_pm(sg_host_t host)
{
- /* jump to vm_ws_get_pm(). this will return the vm name. */
- return surf_vm_get_pm(ind_vm);
+ return surf_vm_get_pm(host);
}
/**
* @param host the vm host (a sg_host_t)
* @param bound bound (a double)
*/
-void SIMIX_vm_set_bound(sg_host_t ind_vm, double bound)
+void SIMIX_vm_set_bound(sg_host_t host, double bound)
{
- /* jump to vm_ws_set_vm_bound(). */
- surf_vm_set_bound(ind_vm, bound);
+ surf_vm_set_bound(host, bound);
}
/**
/* make sure this at the MSG layer. */
xbt_assert(SIMIX_vm_get_pm(ind_vm) == ind_pm);
- /* jump to vm_ws_set_vm_affinity(). */
surf_vm_set_affinity(ind_vm, ind_pm, mask);
}
#include "src/instr/instr_private.h"
-#include "src/surf/AsImpl.hpp"
+#include "src/routing/AsImpl.hpp"
#include "simgrid/s4u/engine.hpp"
#include "surf/surf.h"
#include "src/surf/xml/platf_private.hpp"
#include "src/surf/network_interface.hpp"
#include "surf/surf_routing.h" // FIXME: brain dead public header
-#include "src/surf/AsImpl.hpp"
-#include "src/surf/AsCluster.hpp"
-#include "src/surf/AsClusterTorus.hpp"
-#include "src/surf/AsClusterFatTree.hpp"
-#include "src/surf/AsClusterDragonfly.hpp"
-#include "src/surf/AsDijkstra.hpp"
-#include "src/surf/AsFloyd.hpp"
-#include "src/surf/AsFull.hpp"
-#include "src/surf/AsNone.hpp"
-#include "src/surf/AsVivaldi.hpp"
+#include "src/routing/AsImpl.hpp"
+#include "src/routing/AsCluster.hpp"
+#include "src/routing/AsClusterTorus.hpp"
+#include "src/routing/AsClusterFatTree.hpp"
+#include "src/routing/AsClusterDragonfly.hpp"
+#include "src/routing/AsDijkstra.hpp"
+#include "src/routing/AsFloyd.hpp"
+#include "src/routing/AsFull.hpp"
+#include "src/routing/AsNone.hpp"
+#include "src/routing/AsVivaldi.hpp"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_parse);
#include "simgrid/sg_config.h"
#include "storage_interface.hpp"
-#include "src/surf/AsImpl.hpp"
+#include "src/routing/AsImpl.hpp"
#include "src/surf/xml/platf.hpp" // FIXME: move that back to the parsing area
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route, surf, "Routing part of surf");
#include "surf_interface.hpp"
#include "src/surf/xml/platf_private.hpp" // FIXME: including this here is pure madness. KILKILKIL XML.
-#include "src/surf/AsImpl.hpp"
+#include "src/routing/AsImpl.hpp"
#include <float.h>
#include <vector>
src/surf/xml/simgrid_dtd.c
src/surf/xml/surfxml_sax_cb.cpp
- src/surf/AsImpl.hpp
- src/surf/AsCluster.hpp
- src/surf/AsClusterFatTree.hpp
- src/surf/AsClusterTorus.hpp
- src/surf/AsClusterDragonfly.hpp
- src/surf/AsDijkstra.hpp
- src/surf/AsFloyd.hpp
- src/surf/AsFull.hpp
- src/surf/AsRoutedGraph.hpp
- src/surf/AsNone.hpp
- src/surf/AsVivaldi.hpp
+ src/routing/AsImpl.hpp
+ src/routing/AsCluster.hpp
+ src/routing/AsClusterFatTree.hpp
+ src/routing/AsClusterTorus.hpp
+ src/routing/AsClusterDragonfly.hpp
+ src/routing/AsDijkstra.hpp
+ src/routing/AsFloyd.hpp
+ src/routing/AsFull.hpp
+ src/routing/AsRoutedGraph.hpp
+ src/routing/AsNone.hpp
+ src/routing/AsVivaldi.hpp
src/surf/storage_interface.hpp
src/surf/storage_n11.hpp
src/surf/ns3/ns3_simulator.cc )
set(SURF_SRC
- src/surf/AsImpl.cpp
- src/surf/AsCluster.cpp
- src/surf/AsClusterFatTree.cpp
- src/surf/AsClusterTorus.cpp
- src/surf/AsClusterDragonfly.cpp
- src/surf/AsDijkstra.cpp
- src/surf/AsFloyd.cpp
- src/surf/AsFull.cpp
- src/surf/AsRoutedGraph.cpp
- src/surf/AsNone.cpp
- src/surf/AsVivaldi.cpp
+ src/routing/AsImpl.cpp
+ src/routing/AsCluster.cpp
+ src/routing/AsClusterFatTree.cpp
+ src/routing/AsClusterTorus.cpp
+ src/routing/AsClusterDragonfly.cpp
+ src/routing/AsDijkstra.cpp
+ src/routing/AsFloyd.cpp
+ src/routing/AsFull.cpp
+ src/routing/AsRoutedGraph.cpp
+ src/routing/AsNone.cpp
+ src/routing/AsVivaldi.cpp
src/surf/cpu_cas01.cpp
src/surf/cpu_interface.cpp