Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
seriously, me
[simgrid.git] / src / surf / surf_routing_none.cpp
1 /* Copyright (c) 2009-2011, 2013-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #include "src/surf/surf_routing_private.hpp"
8 #include "src/surf/surf_routing_none.hpp"
9
10 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
11
12 namespace simgrid {
13 namespace surf {
14 AsNone::AsNone(const char*name)
15   : As(name)
16 {}
17 AsNone::~AsNone()
18 {}
19
20 void AsNone::getRouteAndLatency(NetCard * /*src*/, NetCard * /*dst*/,
21                                 sg_platf_route_cbarg_t /*res*/, double */*lat*/)
22 {}
23
24 void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
25 {
26   XBT_INFO("No routing no graph");
27 }
28 }
29 }