summaryrefslogtreecommitdiff
path: root/perf/paint.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-09-05 22:58:33 -0700
committerCarl Worth <cworth@cworth.org>2006-09-05 22:58:33 -0700
commit9d0d38e0a0307580ba69a96e239507cc9559cd99 (patch)
tree40cdcc22cb44d0c03745f6c179527dc88233479f /perf/paint.c
parent9f51fcc888c4b036c535a6a4042ae8c6859f3261 (diff)
perf: Rename functions in line with cairo's naming guidelines
Diffstat (limited to 'perf/paint.c')
-rw-r--r--perf/paint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/perf/paint.c b/perf/paint.c
index 858f15dd..b2f36b40 100644
--- a/perf/paint.c
+++ b/perf/paint.c
@@ -30,14 +30,14 @@ do_paint (cairo_t *cr)
{
int i;
- timer_start ();
+ cairo_perf_timer_start ();
for (i=0; i < 3; i++)
cairo_paint (cr);
- timer_stop ();
+ cairo_perf_timer_stop ();
- return 1.0 / timer_elapsed ();
+ return 1.0 / cairo_perf_timer_elapsed ();
}
double