mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-20 01:43:37 +00:00
(Libretro) Expose perf_register too
This commit is contained in:
parent
166aa29443
commit
b984a8d57e
@ -848,6 +848,7 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
cb->get_time_usec = rarch_get_time_usec;
|
||||
cb->get_cpu_features = rarch_get_cpu_features;
|
||||
cb->perf_log = rarch_perf_log;
|
||||
cb->perf_register = rarch_perf_register;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -617,6 +617,7 @@ typedef retro_time_t (*retro_perf_get_time_usec_t)(void);
|
||||
typedef retro_perf_tick_t (*retro_perf_get_counter_t)(void);
|
||||
typedef void (*retro_get_cpu_features_t)(unsigned*);
|
||||
typedef void (*retro_perf_log_t)(void);
|
||||
typedef void (*retro_perf_register_t)(retro_perf_counter_t*);
|
||||
|
||||
struct retro_perf_callback
|
||||
{
|
||||
@ -624,6 +625,7 @@ struct retro_perf_callback
|
||||
retro_perf_get_counter_t get_perf_counter;
|
||||
retro_get_cpu_features_t get_cpu_features;
|
||||
retro_perf_log_t perf_log;
|
||||
retro_perf_register_t perf_register;
|
||||
};
|
||||
|
||||
#if defined(PERF_TEST)
|
||||
|
Loading…
x
Reference in New Issue
Block a user