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
Update copyright lines for 2023.
[simgrid.git]
/
src
/
surf
/
network_constant.hpp
diff --git
a/src/surf/network_constant.hpp
b/src/surf/network_constant.hpp
index
713c915
..
72d5727
100644
(file)
--- a/
src/surf/network_constant.hpp
+++ b/
src/surf/network_constant.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-202
1
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2013-202
3
. 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. */
@@
-6,16
+6,14
@@
#ifndef NETWORK_CONSTANT_HPP_
#define NETWORK_CONSTANT_HPP_
#ifndef NETWORK_CONSTANT_HPP_
#define NETWORK_CONSTANT_HPP_
-#include "src/kernel/resource/
LinkImp
l.hpp"
+#include "src/kernel/resource/
NetworkMode
l.hpp"
-namespace simgrid {
-namespace kernel {
-namespace resource {
+namespace simgrid::kernel::resource {
class NetworkConstantModel : public NetworkModel {
public:
using NetworkModel::NetworkModel;
class NetworkConstantModel : public NetworkModel {
public:
using NetworkModel::NetworkModel;
- Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override;
+ Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate
, bool streamed
) override;
double next_occurring_event(double now) override;
void update_actions_state(double now, double delta) override;
double next_occurring_event(double now) override;
void update_actions_state(double now, double delta) override;
@@
-29,8
+27,6
@@
public:
void update_remains_lazy(double now) override;
};
void update_remains_lazy(double now) override;
};
-} // namespace resource
-} // namespace kernel
-} // namespace simgrid
+} // namespace simgrid::kernel::resource
#endif /* NETWORK_CONSTANT_HPP_ */
#endif /* NETWORK_CONSTANT_HPP_ */