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
dynar-- for hosts that restart
[simgrid.git]
/
src
/
surf
/
cpu_ti.cpp
diff --git
a/src/surf/cpu_ti.cpp
b/src/surf/cpu_ti.cpp
index
90e5e85
..
939a2fc
100644
(file)
--- a/
src/surf/cpu_ti.cpp
+++ b/
src/surf/cpu_ti.cpp
@@
-459,7
+459,7
@@
void CpuTi::apply_event(tmgr_trace_iterator_t event, double value)
} else if (event == stateEvent_) {
if (value > 0) {
if(isOff())
-
xbt_dynar_push_as(host_that_restart, char*, (char *)
getName());
+
host_that_restart.push_back(
getName());
turnOn();
} else {
turnOff();