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
[trace] instrumenting MSG_task_dsend
[simgrid.git]
/
src
/
surf
/
cpu_cas01.c
diff --git
a/src/surf/cpu_cas01.c
b/src/surf/cpu_cas01.c
index 7025ee52b749f3e429d551892e688eeef8593a3e..b427a5c8395509fda1081fceb311692d20a0d117 100644
(file)
--- a/
src/surf/cpu_cas01.c
+++ b/
src/surf/cpu_cas01.c
@@
-173,6
+173,8
@@
static void cpu_update_resource_state(void *id,
lmm_variable_t var = NULL;
lmm_element_t elem = NULL;
+ surf_watched_hosts();
+
if (event_type == cpu->power_event) {
cpu->power_scale = value;
lmm_update_constraint_bound(surf_cpu_model->model_private->maxmin_system, cpu->constraint,