git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1061
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
SimGrid (2.92) NOT RELEASED YET; urgency=low
Alpha 3 on the path to SimGrid 3
SimGrid (2.92) NOT RELEASED YET; urgency=low
Alpha 3 on the path to SimGrid 3
+ [Arnaud]
+ (gras)
+ - New! First try of benchmarking macros.
+ - New! First try so that gras_stub_generator generate deployment and
+ remote compilation helpers.
+ (msg)
+ - Bugfix: Initialization fix in msg_test.
+ (surf)
+ - Bugfix: applied patch to lexer so that it doesn't need a huge heap.
(xbt)
- Bugfix: let dicts work with NULL content (_foreach didn't) and cleanups
(gras)
(xbt)
- Bugfix: let dicts work with NULL content (_foreach didn't) and cleanups
(gras)
{
int i,j,k,l;
double *A,*B,*C;
{
int i,j,k,l;
double *A,*B,*C;
gras_init(&argc, argv, NULL);
gras_init(&argc, argv, NULL);
B = malloc(n*n*sizeof(double));
C = malloc(n*n*sizeof(double));
B = malloc(n*n*sizeof(double));
C = malloc(n*n*sizeof(double));
- INFO1("Before computation: %lg", start=gras_os_time());
+ start=now=gras_os_time();
+
+ INFO1("Before computation: %lg", start);
GRAS_BENCH_ONCE_RUN_ONCE_BEGIN();
for(i=0; i<n; i++)
for(j=0; j<n; j++) {
GRAS_BENCH_ONCE_RUN_ONCE_BEGIN();
for(i=0; i<n; i++)
for(j=0; j<n; j++) {
C[i*n+j] += A[i*n+k]*B[k*n+j];
GRAS_BENCH_ONCE_RUN_ONCE_END();
C[i*n+j] += A[i*n+k]*B[k*n+j];
GRAS_BENCH_ONCE_RUN_ONCE_END();
+ now=gras_os_time()-now;
+ INFO2("Iteration %d : %lg ", l, now);
- start = gras_os_time()-start;
- INFO2("After computation: %lg; Duration: %lg ", gras_os_time(), start);
+ now=gras_os_time()-start;
+ INFO2("After computation: %lg; Duration: %lg ", gras_os_time(), now);