summaryrefslogtreecommitdiff
path: root/perf/cairo-perf.h
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-08-31 16:42:03 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-09-02 12:45:49 +0200
commit2855ff4666922f2c38505414270d47f659b0d499 (patch)
tree94584b6e1a8003c43b328e44c00da84d993e44fe /perf/cairo-perf.h
parent6d6bfbd641bbb4de62df704e724e507a7e55b883 (diff)
downloadcairo-2855ff4666922f2c38505414270d47f659b0d499.tar.gz
perf: Reuse cairo-time
Instead of redefining time getters, use the generic one provided by _cairo_time_*.
Diffstat (limited to 'perf/cairo-perf.h')
-rw-r--r--perf/cairo-perf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/perf/cairo-perf.h b/perf/cairo-perf.h
index 9c70b5b3f..df5e1412b 100644
--- a/perf/cairo-perf.h
+++ b/perf/cairo-perf.h
@@ -29,9 +29,10 @@
#define _CAIRO_PERF_H_
#include "cairo-boilerplate.h"
+#include "../src/cairo-time-private.h"
#include <stdio.h>
-typedef uint64_t cairo_perf_ticks_t;
+typedef cairo_time_t cairo_perf_ticks_t;
typedef struct _cairo_stats {
cairo_perf_ticks_t min_ticks;