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
Use these simple smpi tests to test all context factories.
[simgrid.git]
/
src
/
surf
/
network_interface.cpp
diff --git
a/src/surf/network_interface.cpp
b/src/surf/network_interface.cpp
index 5bafd0361678f015ad037d6c0eeb2c3d70a70435..49e4c6d2487fd13dbc3c26b969dfca9c8dd02de5 100644
(file)
--- a/
src/surf/network_interface.cpp
+++ b/
src/surf/network_interface.cpp
@@
-1,9
+1,9
@@
-/*
- *
network_interface.cpp
- *
- * Created on: Nov 29, 2013
- *
Author: bedaride
- */
+/*
Copyright (c) 2013-2014. The SimGrid Team.
+ *
All rights reserved. */
+
+/* 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 "network_interface.hpp"
#include "simgrid/sg_config.h"
#include "network_interface.hpp"
#include "simgrid/sg_config.h"
@@
-28,13
+28,6
@@
surf_callback(void, NetworkActionPtr) networkActionStateChangedCallbacks;
NetworkModelPtr surf_network_model = NULL;
NetworkModelPtr surf_network_model = NULL;
-xbt_dynar_t NetworkModel::getRoute(RoutingEdgePtr src, RoutingEdgePtr dst)
-{
- xbt_dynar_t route = NULL;
- routing_platf->getRouteAndLatency(src, dst, &route, NULL);
- return route;
-}
-
double NetworkModel::latencyFactor(double /*size*/) {
return sg_latency_factor;
}
double NetworkModel::latencyFactor(double /*size*/) {
return sg_latency_factor;
}