A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New function: MSG_parallel_task_execute_with_timeout
[simgrid.git]
/
src
/
kernel
/
routing
/
AsVivaldi.hpp
diff --git
a/src/kernel/routing/AsVivaldi.hpp
b/src/kernel/routing/AsVivaldi.hpp
index
adf5ba1
..
65f4d52
100644
(file)
--- a/
src/kernel/routing/AsVivaldi.hpp
+++ b/
src/kernel/routing/AsVivaldi.hpp
@@
-9,19
+9,31
@@
#include "src/kernel/routing/AsCluster.hpp"
namespace simgrid {
#include "src/kernel/routing/AsCluster.hpp"
namespace simgrid {
+namespace kernel {
namespace routing {
namespace routing {
-/* This
derivates from
cluster because each host has a private link */
+/* This
extends
cluster because each host has a private link */
class XBT_PRIVATE AsVivaldi: public AsCluster {
public:
class XBT_PRIVATE AsVivaldi: public AsCluster {
public:
- explicit AsVivaldi(
const char *
name);
+ explicit AsVivaldi(
As* father, const char*
name);
~AsVivaldi() override;
xbt_dynar_t getOneLinkRoutes() override {return nullptr;};
void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
};
~AsVivaldi() override;
xbt_dynar_t getOneLinkRoutes() override {return nullptr;};
void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override;
};
+namespace vivaldi {
+class XBT_PRIVATE Coords {
+public:
+ static simgrid::xbt::Extension<simgrid::s4u::Host, Coords> EXTENSION_ID;
+ explicit Coords(s4u::Host* host, const char* str);
+ virtual ~Coords();
+
+ xbt_dynar_t coords;
+};
+}
}
}
}
}
+} // namespace
#endif /* SURF_ROUTING_VIVALDI_HPP_ */
#endif /* SURF_ROUTING_VIVALDI_HPP_ */