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
use tuned barrier here if provided
[simgrid.git]
/
src
/
smpi
/
smpi_bench.c
diff --git
a/src/smpi/smpi_bench.c
b/src/smpi/smpi_bench.c
index
cdb3c5a
..
84a0bac
100644
(file)
--- a/
src/smpi/smpi_bench.c
+++ b/
src/smpi/smpi_bench.c
@@
-164,7
+164,7
@@
void smpi_bench_end(void)
unsigned int smpi_sleep(unsigned int secs)
{
smpi_bench_end();
- smpi_execute
((double) secs
);
+ smpi_execute
_flops((double) secs*simcall_host_get_speed(SIMIX_host_self())
);
smpi_bench_begin();
return secs;
}