From 99855eb66611cb78c198aae28fd9fb76d1cd5479 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 16 May 2016 10:03:31 +0200 Subject: [PATCH] Rename more performance counter functions --- dynamic.c | 2 +- performance_counters.c | 2 +- performance_counters.h | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dynamic.c b/dynamic.c index 61a98f73f8..c704176006 100644 --- a/dynamic.c +++ b/dynamic.c @@ -1227,7 +1227,7 @@ bool rarch_environment_cb(unsigned cmd, void *data) cb->get_cpu_features = cpu_features_get; cb->get_perf_counter = cpu_features_get_perf_counter; - cb->perf_register = retro_perf_register; + cb->perf_register = performance_counter_register; cb->perf_start = performance_counter_start; cb->perf_stop = performance_counter_stop; cb->perf_log = retro_perf_log; diff --git a/performance_counters.c b/performance_counters.c index 3010ef1578..a589a45411 100644 --- a/performance_counters.c +++ b/performance_counters.c @@ -75,7 +75,7 @@ void rarch_perf_register(struct retro_perf_counter *perf) perf->registered = true; } -void retro_perf_register(struct retro_perf_counter *perf) +void performance_counter_register(struct retro_perf_counter *perf) { if (perf->registered || perf_ptr_libretro >= MAX_COUNTERS) return; diff --git a/performance_counters.h b/performance_counters.h index 93391551c5..00cdb787c1 100644 --- a/performance_counters.h +++ b/performance_counters.h @@ -46,10 +46,7 @@ unsigned retro_get_perf_count_libretro(void); **/ retro_perf_tick_t retro_get_perf_counter(void); -void retro_perf_register(struct retro_perf_counter *perf); - -/* Same as retro_perf_register, just for libretro cores. */ -void retro_perf_register(struct retro_perf_counter *perf); +void performance_counter_register(struct retro_perf_counter *perf); void performance_counters_clear(void);