summaryrefslogtreecommitdiff
path: root/perf/cairo-perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'perf/cairo-perf.c')
-rw-r--r--perf/cairo-perf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c
index 7f2ff5b8e..18db0c544 100644
--- a/perf/cairo-perf.c
+++ b/perf/cairo-perf.c
@@ -69,6 +69,9 @@ cairo_perf_timer_start (void)
void
cairo_perf_timer_stop (void)
{
+ if (cairo_perf_timer_synchronize)
+ cairo_perf_timer_synchronize (cairo_perf_timer_synchronize_closure);
+
timer = _cairo_time_get_delta (timer);
}