mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 08:52:41 +00:00
Rename more performance counter functions
This commit is contained in:
parent
fd951be053
commit
99855eb666
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user