|
RetroArch
|
#include <stdio.h>#include <string.h>#include <unistd.h>#include <compat/strl.h>#include "performance_counters.h"#include "retroarch.h"#include "verbosity.h"Macros | |
| #define | PERF_LOG_FMT "[PERF]: Avg (%s): %llu ticks, %llu runs.\n" |
Functions | |
| struct retro_perf_counter ** | retro_get_perf_counter_rarch (void) |
| struct retro_perf_counter ** | retro_get_perf_counter_libretro (void) |
| unsigned | retro_get_perf_count_rarch (void) |
| unsigned | retro_get_perf_count_libretro (void) |
| void | rarch_perf_register (struct retro_perf_counter *perf) |
| void | performance_counter_register (struct retro_perf_counter *perf) |
| void | performance_counters_clear (void) |
| static void | log_counters (struct retro_perf_counter **counters, unsigned num) |
| void | rarch_perf_log (void) |
| void | retro_perf_log (void) |
| void | rarch_timer_tick (rarch_timer_t *timer) |
| int | rarch_timer_get_timeout (rarch_timer_t *timer) |
| bool | rarch_timer_is_running (rarch_timer_t *timer) |
| bool | rarch_timer_has_expired (rarch_timer_t *timer) |
| void | rarch_timer_end (rarch_timer_t *timer) |
| void | rarch_timer_begin_new_time (rarch_timer_t *timer, uint64_t sec) |
| void | rarch_timer_begin_new_time_us (rarch_timer_t *timer, uint64_t usec) |
| void | rarch_timer_begin (rarch_timer_t *timer, uint64_t sec) |
Variables | |
| static struct retro_perf_counter * | perf_counters_rarch [MAX_COUNTERS] |
| static struct retro_perf_counter * | perf_counters_libretro [MAX_COUNTERS] |
| static unsigned | perf_ptr_rarch |
| static unsigned | perf_ptr_libretro |
|
static |
| void performance_counter_register | ( | struct retro_perf_counter * | perf | ) |
| void rarch_perf_register | ( | struct retro_perf_counter * | perf | ) |
| void rarch_timer_begin | ( | rarch_timer_t * | timer, |
| uint64_t | sec | ||
| ) |
| void rarch_timer_begin_new_time | ( | rarch_timer_t * | timer, |
| uint64_t | sec | ||
| ) |
| void rarch_timer_begin_new_time_us | ( | rarch_timer_t * | timer, |
| uint64_t | usec | ||
| ) |
| void rarch_timer_end | ( | rarch_timer_t * | timer | ) |
| int rarch_timer_get_timeout | ( | rarch_timer_t * | timer | ) |
| bool rarch_timer_has_expired | ( | rarch_timer_t * | timer | ) |
| bool rarch_timer_is_running | ( | rarch_timer_t * | timer | ) |
| void rarch_timer_tick | ( | rarch_timer_t * | timer | ) |
| unsigned retro_get_perf_count_libretro | ( | void | ) |
| unsigned retro_get_perf_count_rarch | ( | void | ) |
| struct retro_perf_counter** retro_get_perf_counter_libretro | ( | void | ) |
| struct retro_perf_counter** retro_get_perf_counter_rarch | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
1.8.15