diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-06-24 14:59:18 +0300 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2010-06-24 15:02:53 +0300 |
commit | b036a09972a19e63a85a4661a457525e2abe4026 (patch) | |
tree | 660c24352ee1e32b10556c3938bee09964d9a45a /perf/cairo-stats.c | |
parent | 616e35d1fae703dc118ce503d25d4f57cfd16dfd (diff) | |
download | cairo-b036a09972a19e63a85a4661a457525e2abe4026.tar.gz |
whitespace: Fixup formal arguments and tabs in boilerplate/ and perf/.
Ran a script to align the formal parameters of functions and
collapse spaces to tabs in code.
Diffstat (limited to 'perf/cairo-stats.c')
-rw-r--r-- | perf/cairo-stats.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/perf/cairo-stats.c b/perf/cairo-stats.c index 43711a974..fbe16e798 100644 --- a/perf/cairo-stats.c +++ b/perf/cairo-stats.c @@ -26,7 +26,8 @@ #include "cairo-stats.h" static int -_cairo_perf_ticks_cmp (const void *_a, const void *_b) +_cairo_perf_ticks_cmp (const void *_a, + const void *_b) { const cairo_perf_ticks_t *a = _a; const cairo_perf_ticks_t *b = _b; @@ -39,9 +40,9 @@ _cairo_perf_ticks_cmp (const void *_a, const void *_b) } void -_cairo_stats_compute (cairo_stats_t *stats, - cairo_perf_ticks_t *values, - int num_values) +_cairo_stats_compute (cairo_stats_t *stats, + cairo_perf_ticks_t *values, + int num_values) { int i; double sum, mean, delta, q1, q3, iqr; @@ -61,7 +62,7 @@ _cairo_stats_compute (cairo_stats_t *stats, qsort (values, num_values, sizeof (cairo_perf_ticks_t), _cairo_perf_ticks_cmp); - q1 = values[(1*num_values)/4]; + q1 = values[(1*num_values)/4]; q3 = values[(3*num_values)/4]; iqr = q3 - q1; |