pub type retro_perf_get_counter_t = Option<unsafe extern "C" fn() -> retro_perf_tick_t>;Expand description
A simple counter. Usually nanoseconds, but can also be CPU cycles. Can be used directly if desired (when creating a more sophisticated performance counter system).
Aliased Type§
pub enum retro_perf_get_counter_t {
None,
Some(unsafe extern "C" fn() -> u64),
}