From 4e8c3b3bd3fa069f2035bd321fad62500e686c8f Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 15 Apr 2014 19:43:44 +0200 Subject: [PATCH] Add perf counter to softfilter. --- retroarch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/retroarch.c b/retroarch.c index fd0b45e6ac..8a2562bd05 100644 --- a/retroarch.c +++ b/retroarch.c @@ -315,9 +315,12 @@ static void video_frame(const void *data, unsigned width, unsigned height, size_ opitch = owidth * g_extern.filter.out_bpp; + RARCH_PERFORMANCE_INIT(softfilter_process); + RARCH_PERFORMANCE_START(softfilter_process); rarch_softfilter_process(g_extern.filter.filter, g_extern.filter.buffer, opitch, data, width, height, pitch); + RARCH_PERFORMANCE_STOP(softfilter_process); #ifdef HAVE_FFMPEG if (g_extern.recording && g_settings.video.post_filter_record)