Selaa lähdekoodia

starpu_replay: print results on only one line

Samuel Thibault 5 vuotta sitten
vanhempi
commit
2ab59ea36f
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      tools/starpu_replay.c

+ 3 - 2
tools/starpu_replay.c

@@ -1115,9 +1115,10 @@ eof:
 	starpu_task_wait_for_all();
 	fprintf(stderr, " done.\n");
 
-	printf("%g ms\n", (starpu_timing_now() - start) / 1000.);
+	printf("%g ms", (starpu_timing_now() - start) / 1000.);
 	if (total_flops != 0.)
-		printf("%g GF/s\n", (total_flops / (starpu_timing_now() - start)) / 1000.);
+		printf("\t%g GF/s", (total_flops / (starpu_timing_now() - start)) / 1000.);
+	printf("\n");
 
 	/* FREE allocated memory */