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
fix host name issue with ns3 wifi, add ssid, set active probing to false
[simgrid.git]
/
src
/
surf
/
network_constant.hpp
diff --git
a/src/surf/network_constant.hpp
b/src/surf/network_constant.hpp
index daa5ff76c7fa220184b658e157be0a95181b4690..282a7d2ce071e783aa77c8092f725f4c174b3724 100644
(file)
--- a/
src/surf/network_constant.hpp
+++ b/
src/surf/network_constant.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-20
19
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2013-20
20
. 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. */
/* 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. */
@@
-18,16
+18,16
@@
class NetworkConstantModel : public NetworkModel {
public:
NetworkConstantModel();
Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;
public:
NetworkConstantModel();
Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;
- double next_occuring_event(double now) override;
+ double next_occur
r
ing_event(double now) override;
void update_actions_state(double now, double delta) override;
void update_actions_state(double now, double delta) override;
- LinkImpl* create_link(const std::string& name,
std::vector<double>
bws, double lat,
+ LinkImpl* create_link(const std::string& name,
const std::vector<double>&
bws, double lat,
s4u::Link::SharingPolicy policy) override;
};
class NetworkConstantAction : public NetworkAction {
public:
s4u::Link::SharingPolicy policy) override;
};
class NetworkConstantAction : public NetworkAction {
public:
- NetworkConstantAction(NetworkConstantModel* model_, double size, double latency);
+ NetworkConstantAction(NetworkConstantModel* model_,
s4u::Host& src, s4u::Host& dst,
double size, double latency);
~NetworkConstantAction();
double initial_latency_;
void update_remains_lazy(double now) override;
~NetworkConstantAction();
double initial_latency_;
void update_remains_lazy(double now) override;