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
snake_case the signals in s4u::Link (no way to make a deprecation warning)
[simgrid.git]
/
src
/
surf
/
network_interface.cpp
diff --git
a/src/surf/network_interface.cpp
b/src/surf/network_interface.cpp
index
2e3bc1e
..
7fdfce0
100644
(file)
--- a/
src/surf/network_interface.cpp
+++ b/
src/surf/network_interface.cpp
@@
-145,7
+145,7
@@
void LinkImpl::destroy()
{
if (not currentlyDestroying_) {
currentlyDestroying_ = true;
- s4u::Link::on
D
estruction(this->piface_);
+ s4u::Link::on
_d
estruction(this->piface_);
delete this;
}
}
@@
-174,23
+174,23
@@
void LinkImpl::turn_on()
{
if (is_off()) {
Resource::turn_on();
- s4u::Link::on
StateC
hange(this->piface_);
+ s4u::Link::on
_state_c
hange(this->piface_);
}
}
void LinkImpl::turn_off()
{
if (is_on()) {
Resource::turn_off();
- s4u::Link::on
StateC
hange(this->piface_);
+ s4u::Link::on
_state_c
hange(this->piface_);
}
}
void LinkImpl::on_bandwidth_change()
{
if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform())
- instr::Container::by
N
ame(get_cname())
- ->get
V
ariable("bandwidth")
- ->set
E
vent(surf_get_clock(), sg_bandwidth_factor * bandwidth_.scale * bandwidth_.peak);
+ instr::Container::by
_n
ame(get_cname())
+ ->get
_v
ariable("bandwidth")
+ ->set
_e
vent(surf_get_clock(), sg_bandwidth_factor * bandwidth_.scale * bandwidth_.peak);
s4u::Link::on_bandwidth_change(this->piface_);
}
@@
-217,7
+217,7
@@
void LinkImpl::setLatencyTrace(tmgr_trace_t trace)
void NetworkAction::set_state(Action::State state)
{
Action::set_state(state);
- s4u::Link::on
CommunicationStateC
hange(this);
+ s4u::Link::on
_communication_state_c
hange(this);
}
/** @brief returns a list of all Links that this action is using */