From: alegrand Date: Wed, 23 Feb 2005 18:55:23 +0000 (+0000) Subject: Update X-Git-Tag: v3.3~4291 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/61661270913163ed28fbcbbabc902cf7f44fb2d8 Update git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1061 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/ChangeLog b/ChangeLog index f4a2be6300..112626efc6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,17 @@ 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. [Martin] + (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) diff --git a/examples/gras/chrono/chrono.c b/examples/gras/chrono/chrono.c index eb31f9a882..48a77a149a 100644 --- a/examples/gras/chrono/chrono.c +++ b/examples/gras/chrono/chrono.c @@ -20,8 +20,9 @@ int multiplier (int argc,char *argv[]) { int i,j,k,l; double *A,*B,*C; - int n = 500; + int n = 100; double start = 0.0; + double now = 0.0; gras_init(&argc, argv, NULL); @@ -29,9 +30,12 @@ int multiplier (int argc,char *argv[]) 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); for(l=0; l<4; l++) { + now=gras_os_time(); GRAS_BENCH_ONCE_RUN_ONCE_BEGIN(); for(i=0; i