- now=gras_os_time()-start;
- INFO2("After computation: %lg; Duration: %lg ", gras_os_time(), now);
+ now = gras_os_time() - start;
+ INFO2("End matrix multiplication loop (time: %g; Duration: %g)",
+ gras_os_time(), now);
+
+ start = now = gras_os_time();
+ INFO1("Begin malloc loop (time: %g)", start);
+ for (l = 0; l < 4; l++) {
+ now = gras_os_time();
+ GRAS_BENCH_ONCE_RUN_ONCE_BEGIN();
+ free(A);
+ A = malloc(n * n * sizeof(double));
+ GRAS_BENCH_ONCE_RUN_ONCE_END();
+ now = gras_os_time() - now;
+ INFO2("Iteration %d : %g ", l, now);
+ }
+
+ start = now = gras_os_time();
+ INFO1("Begin integer incrementation loop (time: %g)", start);
+ for (l = 0; l < 4; l++) {
+ GRAS_BENCH_ONCE_RUN_ONCE_BEGIN();
+ j++;
+ GRAS_BENCH_ONCE_RUN_ONCE_END();
+ }
+ free(A);
+ free(B);
+ free(C);