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
Enable timestamping of messages emitted out of any user process (such as the terminai...
[simgrid.git]
/
src
/
surf
/
network.c
diff --git
a/src/surf/network.c
b/src/surf/network.c
index
bd29038
..
f8690a8
100644
(file)
--- a/
src/surf/network.c
+++ b/
src/surf/network.c
@@
-8,7
+8,7
@@
#include "network_private.h"
#include "xbt/log.h"
#include "network_private.h"
#include "xbt/log.h"
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(network, surf,
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(
surf_
network, surf,
"Logging specific to the SURF network module");
surf_network_resource_t surf_network_resource = NULL;
"Logging specific to the SURF network module");
surf_network_resource_t surf_network_resource = NULL;
@@
-311,7
+311,8
@@
static void update_actions_state(double now, double delta)
action->latency = 0.0;
}
if ((action->latency == 0.0) && !(action->suspended))
action->latency = 0.0;
}
if ((action->latency == 0.0) && !(action->suspended))
- lmm_update_variable_weight(maxmin_system, action->variable, 1.0);
+ lmm_update_variable_weight(maxmin_system, action->variable,
+ action->lat_current);
}
surf_double_update(&(action->generic_action.remains),
lmm_variable_getvalue(action->variable) * deltap);
}
surf_double_update(&(action->generic_action.remains),
lmm_variable_getvalue(action->variable) * deltap);