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
Const in network_wifi and link_energy_wifi.
[simgrid.git]
/
src
/
surf
/
network_wifi.hpp
diff --git
a/src/surf/network_wifi.hpp
b/src/surf/network_wifi.hpp
index
c5111e4
..
5f06aa4
100644
(file)
--- a/
src/surf/network_wifi.hpp
+++ b/
src/surf/network_wifi.hpp
@@
-47,7
+47,7
@@
public:
void set_host_rate(const s4u::Host* host, int rate_level);
/** @brief Get the AP rate associated to the host (or -1 if not associated to the AP) */
void set_host_rate(const s4u::Host* host, int rate_level);
/** @brief Get the AP rate associated to the host (or -1 if not associated to the AP) */
- double get_host_rate(const s4u::Host* host);
+ double get_host_rate(const s4u::Host* host)
const
;
s4u::Link::SharingPolicy get_sharing_policy() const override;
void apply_event(kernel::profile::Event*, double) override { THROW_UNIMPLEMENTED; }
s4u::Link::SharingPolicy get_sharing_policy() const override;
void apply_event(kernel::profile::Event*, double) override { THROW_UNIMPLEMENTED; }
@@
-55,7
+55,7
@@
public:
void set_latency(double) override { THROW_UNIMPLEMENTED; }
void refresh_decay_bandwidths();
bool toggle_decay_model();
void set_latency(double) override { THROW_UNIMPLEMENTED; }
void refresh_decay_bandwidths();
bool toggle_decay_model();
- int get_host_count();
+ int get_host_count()
const
;
};
class NetworkWifiAction : public NetworkCm02Action {
};
class NetworkWifiAction : public NetworkCm02Action {