Go to the source code of this file.
Variables | |
u32 | gfx_subset_starts [PROFILER_TIME_SUB_GFX_END - PROFILER_TIME_SUB_GFX_START] |
u32 | gfx_subset_tallies [PROFILER_TIME_SUB_GFX_END - PROFILER_TIME_SUB_GFX_START] |
#define GFX_PROFILING |
Toggle this define to enable verbose graphics profiling.
Definition at line 17 of file profiling.h.
#define OS_GET_COUNT_INLINE | ( | x | ) | asm volatile("mfc0 %0, $9" : "=r"(x): ) |
Definition at line 19 of file profiling.h.
#define PROFILING_BUFFER_SIZE 64 |
Definition at line 21 of file profiling.h.
#define AUDIO_SUBSET_ENTRIES |
Definition at line 23 of file profiling.h.
#define GFX_SUBSET_ENTRIES |
Definition at line 36 of file profiling.h.
#define PROFILER_TIME_PUPPYPRINT1 0 |
Definition at line 112 of file profiling.h.
#define PROFILER_TIME_PUPPYPRINT2 0 |
Definition at line 113 of file profiling.h.
#define PROFILER_DELTA_PUPPYPRINT1 0 |
Definition at line 114 of file profiling.h.
#define PROFILER_DELTA_PUPPYPRINT2 0 |
Definition at line 115 of file profiling.h.
#define PROFILER_GET_SNAPSHOT | ( | ) |
Definition at line 155 of file profiling.h.
#define PROFILER_GET_SNAPSHOT_TYPE | ( | type | ) |
Definition at line 156 of file profiling.h.
#define profiler_update | ( | which, | |
delta ) |
Definition at line 157 of file profiling.h.
Referenced by state_step_world(), and step_game_loop().
#define profiler_print_times | ( | ) |
Definition at line 158 of file profiling.h.
Referenced by gfx_draw_frame().
#define profiler_frame_setup | ( | ) |
Definition at line 159 of file profiling.h.
Referenced by step_game_loop().
#define profiler_rsp_started | ( | which | ) |
Definition at line 160 of file profiling.h.
Referenced by gfxRetrace_Callback(), and nuAuMgr().
#define profiler_rsp_completed | ( | which | ) |
Definition at line 161 of file profiling.h.
Referenced by gfx_task_end_callback(), and nuAuMgr().
#define profiler_rsp_resumed | ( | ) |
Definition at line 162 of file profiling.h.
#define profiler_audio_started | ( | ) |
Definition at line 163 of file profiling.h.
Referenced by nuAuMgr().
#define profiler_audio_completed | ( | ) |
Definition at line 164 of file profiling.h.
Referenced by nuAuMgr().
#define profiler_rsp_yielded | ( | ) |
Definition at line 165 of file profiling.h.
#define profiler_collision_reset | ( | ) |
Definition at line 166 of file profiling.h.
#define profiler_collision_completed | ( | ) |
Definition at line 167 of file profiling.h.
#define profiler_collision_update | ( | time | ) |
Definition at line 168 of file profiling.h.
#define profiler_get_delta | ( | which | ) | 0 |
Definition at line 169 of file profiling.h.
#define profiler_get_cpu_microseconds | ( | ) | 0 |
Definition at line 170 of file profiling.h.
#define profiler_get_rsp_microseconds | ( | ) | 0 |
Definition at line 171 of file profiling.h.
#define profiler_get_rdp_microseconds | ( | ) | 0 |
Definition at line 172 of file profiling.h.
#define GFX_SUBSET_SIZE PROFILER_TIME_SUB_GFX_END - PROFILER_TIME_SUB_GFX_START |
Definition at line 176 of file profiling.h.
#define GFX_PROFILER_SWITCH | ( | complete, | |
begin ) profiler_gfx_subset_switch_func(complete - PROFILER_TIME_SUB_GFX_START, begin - PROFILER_TIME_SUB_GFX_START) |
Definition at line 212 of file profiling.h.
Referenced by gfx_draw_frame(), and render_frame().
#define GFX_PROFILER_COMPLETE_AND_SWITCH | ( | complete1, | |
complete2, | |||
begin ) |
Definition at line 213 of file profiling.h.
#define GFX_PROFILER_START_SHARED | ( | first, | |
new ) profiler_gfx_subset_start_shared_func(first - PROFILER_TIME_SUB_GFX_START, new - PROFILER_TIME_SUB_GFX_START) |
Definition at line 215 of file profiling.h.
#define GFX_PROFILER_START | ( | which | ) | profiler_gfx_subset_start_func(which - PROFILER_TIME_SUB_GFX_START) |
Definition at line 216 of file profiling.h.
Referenced by render_frame().
#define GFX_PROFILER_COMPLETE | ( | which | ) | profiler_gfx_subset_complete_func(which - PROFILER_TIME_SUB_GFX_START) |
Definition at line 217 of file profiling.h.
Referenced by gfx_draw_frame(), and render_frame().
#define AUDIO_PROFILER_SWITCH | ( | complete, | |
begin ) |
Definition at line 278 of file profiling.h.
#define AUDIO_PROFILER_COMPLETE_AND_SWITCH | ( | complete1, | |
complete2, | |||
begin ) |
Definition at line 279 of file profiling.h.
#define AUDIO_PROFILER_START_SHARED | ( | first, | |
new ) |
Definition at line 280 of file profiling.h.
#define AUDIO_PROFILER_START | ( | which | ) |
Definition at line 283 of file profiling.h.
#define AUDIO_PROFILER_COMPLETE | ( | which | ) |
Definition at line 284 of file profiling.h.
enum ProfilerTime |
Definition at line 52 of file profiling.h.
enum ProfilerRSPTime |
Enumerator | |
---|---|
PROFILER_RSP_GFX | |
PROFILER_RSP_AUDIO | |
PROFILER_RSP_COUNT |
Definition at line 97 of file profiling.h.
enum ProfilerDeltaTime |
Enumerator | |
---|---|
PROFILER_DELTA_COLLISION |
Definition at line 103 of file profiling.h.
Definition at line 275 of file profiling.h.
|
extern |
|
extern |