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
Suppress trailing whitespaces.
[simgrid.git]
/
src
/
surf
/
cpu_ti.cpp
diff --git
a/src/surf/cpu_ti.cpp
b/src/surf/cpu_ti.cpp
index
c9a76fe
..
63625bc
100644
(file)
--- a/
src/surf/cpu_ti.cpp
+++ b/
src/surf/cpu_ti.cpp
@@
-48,7
+48,7
@@
CpuTiProfile::CpuTiProfile(const profile::Profile* profile)
double delay=profile->get_repeat_delay()+ events.at(0).date_;
xbt_assert( events.back().value_==prev_value,"Profiles need to end as they start");
- time
+= delay;
+ time
+= delay;
integral += delay*prev_value;
time_points_.push_back(time);