summaryrefslogtreecommitdiff
path: root/perf/cairo-perf-micro.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-08-31 17:55:07 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-09-02 12:45:49 +0200
commit9172e2aec0bfd7ac9ae464726bc79ace2d4d7113 (patch)
tree3fda1fba82492ba218ce603242b6d6cd42e3754a /perf/cairo-perf-micro.c
parent2855ff4666922f2c38505414270d47f659b0d499 (diff)
downloadcairo-9172e2aec0bfd7ac9ae464726bc79ace2d4d7113.tar.gz
perf: Drop cairo_perf_ticks_t in favor of cairo_time_t
cairo_time_t offers a superset of the functions provided by cairo_perf_ticks_t.
Diffstat (limited to 'perf/cairo-perf-micro.c')
-rw-r--r--perf/cairo-perf-micro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/perf/cairo-perf-micro.c b/perf/cairo-perf-micro.c
index 0f5f64ee4..959bfbc4c 100644
--- a/perf/cairo-perf-micro.c
+++ b/perf/cairo-perf-micro.c
@@ -128,7 +128,7 @@ static unsigned
cairo_perf_calibrate (cairo_perf_t *perf,
cairo_perf_func_t perf_func)
{
- cairo_perf_ticks_t calibration, calibration_max;
+ cairo_time_t calibration, calibration_max;
unsigned loops, min_loops;
min_loops = 1;
@@ -169,7 +169,7 @@ cairo_perf_run (cairo_perf_t *perf,
{
static cairo_bool_t first_run = TRUE;
unsigned int i, similar, has_similar;
- cairo_perf_ticks_t *times;
+ cairo_time_t *times;
cairo_stats_t stats = {0.0, 0.0};
int low_std_dev_count;
@@ -477,7 +477,7 @@ main (int argc,
}
perf.targets = cairo_boilerplate_get_targets (&perf.num_targets, NULL);
- perf.times = xmalloc (perf.iterations * sizeof (cairo_perf_ticks_t));
+ perf.times = xmalloc (perf.iterations * sizeof (cairo_time_t));
for (i = 0; i < perf.num_targets; i++) {
const cairo_boilerplate_target_t *target = perf.targets[i];