Rename more performance counter functions

This commit is contained in:
twinaphex 2016-05-16 10:03:31 +02:00
parent fd951be053
commit 99855eb666
3 changed files with 3 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);