From caafee006c5f5edaa83bea234c5d70d30654daa4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 23 Apr 2017 11:26:10 +0200 Subject: [PATCH] Get rid of performance counter for softfilter --- gfx/video_driver.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 5a2a406d34..e24a130f04 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -53,7 +53,6 @@ #include "../driver.h" #include "../retroarch.h" #include "../runloop.h" -#include "../performance_counters.h" #include "../list_special.h" #include "../core.h" #include "../command.h" @@ -1093,20 +1092,14 @@ static bool video_driver_frame_filter( unsigned *output_width, unsigned *output_height, unsigned *output_pitch) { - static struct retro_perf_counter softfilter_process = {0}; - - performance_counter_init(softfilter_process, "softfilter_process"); - rarch_softfilter_get_output_size(video_driver_state_filter, output_width, output_height, width, height); *output_pitch = (*output_width) * video_driver_state_out_bpp; - performance_counter_start_plus(video_info->is_perfcnt_enable, softfilter_process); rarch_softfilter_process(video_driver_state_filter, video_driver_state_buffer, *output_pitch, data, width, height, pitch); - performance_counter_stop_plus(video_info->is_perfcnt_enable, softfilter_process); if (video_info->post_filter_record && recording_data) recording_dump_frame(video_driver_state_buffer,