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
cosmetics in the wifi model
[simgrid.git]
/
src
/
surf
/
network_wifi.hpp
diff --git
a/src/surf/network_wifi.hpp
b/src/surf/network_wifi.hpp
index 33e672d9327d95bdd399826bb61eec148f9c25a9..a1cd907f7d8d9639df19a5a41d26f6e883e7f8a2 100644
(file)
--- a/
src/surf/network_wifi.hpp
+++ b/
src/surf/network_wifi.hpp
@@
-28,12
+28,16
@@
class NetworkWifiLink : public NetworkCm02Link {
public:
NetworkWifiLink(NetworkCm02Model* model, const std::string& name, std::vector<double> bandwidths,
public:
NetworkWifiLink(NetworkCm02Model* model, const std::string& name, std::vector<double> bandwidths,
-
s4u::Link::SharingPolicy policy,
lmm::System* system);
+ lmm::System* system);
void set_host_rate(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(s4u::Host* host);
void set_host_rate(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(s4u::Host* host);
+
s4u::Link::SharingPolicy get_sharing_policy() override;
s4u::Link::SharingPolicy get_sharing_policy() override;
+ void apply_event(kernel::profile::Event*, double) override { THROW_UNIMPLEMENTED; }
+ void set_bandwidth(double) override { THROW_UNIMPLEMENTED; }
+ void set_latency(double) override { THROW_UNIMPLEMENTED; }
};
} // namespace resource
};
} // namespace resource