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
kill useless code
[simgrid.git]
/
src
/
simix
/
smx_host.cpp
diff --git
a/src/simix/smx_host.cpp
b/src/simix/smx_host.cpp
index
17ae79b
..
a6c4cb9
100644
(file)
--- a/
src/simix/smx_host.cpp
+++ b/
src/simix/smx_host.cpp
@@
-46,7
+46,7
@@
void SIMIX_host_on(sg_host_t h)
if (h->isOff()) {
simgrid::surf::Host* surf_host = h->extension<simgrid::surf::Host>();
if (h->isOff()) {
simgrid::surf::Host* surf_host = h->extension<simgrid::surf::Host>();
- surf_host
_turn_on(surf_host
);
+ surf_host
->turnOn(
);
unsigned int cpt;
smx_process_arg_t arg;
unsigned int cpt;
smx_process_arg_t arg;
@@
-100,7
+100,7
@@
void SIMIX_host_off(sg_host_t h, smx_process_t issuer)
if (h->isOn()) {
simgrid::surf::Host* surf_host = h->extension<simgrid::surf::Host>();
if (h->isOn()) {
simgrid::surf::Host* surf_host = h->extension<simgrid::surf::Host>();
- surf_host
_turn_off(surf_host
);
+ surf_host
->turnOff(
);
/* Clean Simulator data */
if (xbt_swag_size(host->process_list) != 0) {
/* Clean Simulator data */
if (xbt_swag_size(host->process_list) != 0) {