summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-compare-backends.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-08-23 14:39:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-08-23 14:41:10 +0100
commit6cdad1931a585e2f1a6a11c7a9a4687660037cd2 (patch)
tree94472416ab6e2c5b4a5ef32d081e662eb6b78ea8 /perf/cairo-perf-compare-backends.c
parentba1060fbbc62bd364d65787bb0c88281c67a534a (diff)
observe: Provide the sum of the elapsed time of the individual operations
We can use the elapsed time of the indiividual operations to profile the synchronous throughput of a trace and eliminate all replay overhead. At the cost of running the trace synchronously of course. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'perf/cairo-perf-compare-backends.c')
-rw-r--r--perf/cairo-perf-compare-backends.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/perf/cairo-perf-compare-backends.c b/perf/cairo-perf-compare-backends.c
index f4a425f0..16306377 100644
--- a/perf/cairo-perf-compare-backends.c
+++ b/perf/cairo-perf-compare-backends.c
@@ -111,8 +111,6 @@ print_change_bar (double change,
printf ("%s", boxes[6]);
else if (change > 0.5/8.0)
printf ("%s", boxes[7]);
-
- printf ("\n");
}
static void
@@ -145,6 +143,7 @@ test_diff_print (test_diff_t *diff,
if (options->print_change_bars)
print_change_bar (change, max_change, options->use_utf);
+ printf ("\n");
}
printf("\n");