Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
- Add wifi link
[simgrid.git] / src / surf / link_wifi.cpp
1 /* Copyright (c) 2013-2019. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #include "src/surf/link_wifi.hpp"
7
8 namespace simgrid {
9 namespace kernel {
10 namespace resource {
11
12 void NetworkWifiLink::set_host_rate(sg_host_t host, int rate_level)
13 {
14   host_rates.insert(std::make_pair(host->get_name(), rate_level));
15 }
16 } // namespace resource
17 } // namespace kernel
18 } // namespace simgrid