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
correct computation time after changing pstate. Fix issue #95
[simgrid.git]
/
src
/
surf
/
ptask_L07.cpp
diff --git
a/src/surf/ptask_L07.cpp
b/src/surf/ptask_L07.cpp
index
bd0f778
..
60f1625
100644
(file)
--- a/
src/surf/ptask_L07.cpp
+++ b/
src/surf/ptask_L07.cpp
@@
-284,7
+284,7
@@
void CpuL07::on_speed_change()
{
const lmm::Element* elem = nullptr;
- get_model()->get_maxmin_system()->update_constraint_bound(get_constraint(), speed_.peak * speed_.scale);
+ get_model()->get_maxmin_system()->update_constraint_bound(get_constraint(),
get_core_count() *
speed_.peak * speed_.scale);
while (const auto* var = get_constraint()->get_variable(&elem)) {
const Action* action = var->get_id();