This should have appeared with commit "svga: add guest statistic
gathering interface" from August 4, but was somehow lost.
struct pipe_screen *screen = svga->pipe.screen;
struct pipe_fence_handle *fence = NULL;
+ SVGA_STATS_TIME_PUSH(svga_sws(svga), SVGA_STATS_TIME_CONTEXTFINISH);
+
svga_context_flush(svga, &fence);
screen->fence_finish(screen, NULL, fence, PIPE_TIMEOUT_INFINITE);
screen->fence_reference(screen, &fence, NULL);
+
+ SVGA_STATS_TIME_POP(svga_sws(svga));
}