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
make Model::update_algo a constant field, set at initialization only
[simgrid.git]
/
src
/
surf
/
network_interface.hpp
diff --git
a/src/surf/network_interface.hpp
b/src/surf/network_interface.hpp
index
f141ecb
..
a04496e
100644
(file)
--- a/
src/surf/network_interface.hpp
+++ b/
src/surf/network_interface.hpp
@@
-34,7
+34,7
@@
namespace surf {
class NetworkModel : public kernel::resource::Model {
public:
/** @brief Constructor */
class NetworkModel : public kernel::resource::Model {
public:
/** @brief Constructor */
-
NetworkModel() : Model(
) {}
+
explicit NetworkModel(kernel::resource::Model::UpdateAlgo algo) : Model(algo
) {}
/** @brief Destructor */
~NetworkModel() override;
/** @brief Destructor */
~NetworkModel() override;
@@
-64,12
+64,6
@@
public:
*/
virtual kernel::resource::Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) = 0;
*/
virtual kernel::resource::Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) = 0;
- /** @brief Function pointer to the function to use to solve the lmm_system_t
- *
- * @param system The lmm_system_t to solve
- */
- void (*f_networkSolve)(kernel::lmm::System*) = kernel::lmm::lmm_solve;
-
/**
* @brief Get the right multiplicative factor for the latency.
* @details Depending on the model, the effective latency when sending
/**
* @brief Get the right multiplicative factor for the latency.
* @details Depending on the model, the effective latency when sending
@@
-147,7
+141,7
@@
public:
virtual int sharingPolicy();
/** @brief Check if the Link is used */
virtual int sharingPolicy();
/** @brief Check if the Link is used */
- bool is
U
sed() override;
+ bool is
_u
sed() override;
void turnOn() override;
void turnOff() override;
void turnOn() override;
void turnOff() override;