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
%lg -> %g ...
[simgrid.git]
/
examples
/
gras
/
chrono
/
chrono.c
diff --git
a/examples/gras/chrono/chrono.c
b/examples/gras/chrono/chrono.c
index
74c3c34
..
db0301b
100644
(file)
--- a/
examples/gras/chrono/chrono.c
+++ b/
examples/gras/chrono/chrono.c
@@
-32,7
+32,7
@@
int multiplier (int argc,char *argv[])
start=now=gras_os_time();
start=now=gras_os_time();
- INFO1("Begin matrix multiplication loop (time: %
l
g)", start);
+ INFO1("Begin matrix multiplication loop (time: %g)", start);
for(l=0; l<4; l++) {
now=gras_os_time();
for(l=0; l<4; l++) {
now=gras_os_time();
@@
-51,14
+51,14
@@
int multiplier (int argc,char *argv[])
GRAS_BENCH_ONCE_RUN_ONCE_END();
now=gras_os_time()-now;
GRAS_BENCH_ONCE_RUN_ONCE_END();
now=gras_os_time()-now;
- INFO2("Iteration %d : %
l
g ", l, now);
+ INFO2("Iteration %d : %g ", l, now);
}
now=gras_os_time()-start;
}
now=gras_os_time()-start;
- INFO2("End matrix multiplication loop (time: %
lg; Duration: %l
g)", gras_os_time(), now);
+ INFO2("End matrix multiplication loop (time: %
g; Duration: %
g)", gras_os_time(), now);
start=now=gras_os_time();
start=now=gras_os_time();
- INFO1("Begin malloc loop (time: %
l
g)", start);
+ INFO1("Begin malloc loop (time: %g)", start);
for(l=0; l<4; l++) {
now=gras_os_time();
GRAS_BENCH_ONCE_RUN_ONCE_BEGIN();
for(l=0; l<4; l++) {
now=gras_os_time();
GRAS_BENCH_ONCE_RUN_ONCE_BEGIN();
@@
-66,11
+66,11
@@
int multiplier (int argc,char *argv[])
A = malloc(n*n*sizeof(double));
GRAS_BENCH_ONCE_RUN_ONCE_END();
now=gras_os_time()-now;
A = malloc(n*n*sizeof(double));
GRAS_BENCH_ONCE_RUN_ONCE_END();
now=gras_os_time()-now;
- INFO2("Iteration %d : %
l
g ", l, now);
+ INFO2("Iteration %d : %g ", l, now);
}
start=now=gras_os_time();
}
start=now=gras_os_time();
- INFO1("Begin integer incrementation loop (time: %
l
g)", start);
+ INFO1("Begin integer incrementation loop (time: %g)", start);
for(l=0; l<4; l++) {
GRAS_BENCH_ONCE_RUN_ONCE_BEGIN();
j++;
for(l=0; l<4; l++) {
GRAS_BENCH_ONCE_RUN_ONCE_BEGIN();
j++;