![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Functions | |
void | profiler_log_thread5_time (enum ProfilerGameEvent eventID) |
void | profiler_log_thread4_time (void) |
void | profiler_log_gfx_time (enum ProfilerGfxEvent eventID) |
void | profiler_log_vblank_time (void) |
void | draw_profiler_bar (s64 clock_base, s64 clock_start, s64 clock_end, s16 pos_y, u16 color) |
void | draw_reference_profiler_bars (void) |
void | draw_profiler_mode_1 (void) |
void | draw_profiler_mode_0 (void) |
void | draw_profiler (void) |
Variables | |
s16 | gProfilerMode = 0 |
s16 | gCurrentFrameIndex1 = 1 |
s16 | gCurrentFrameIndex2 = 0 |
struct ProfilerFrameData | gProfilerFrameData [2] |
I believe this is supposed to cap rect_x1 and rect_x2 to 320, but the
RSP and RDP run in parallel, so while they are not absolutely guaranteed to return in order,
void profiler_log_gfx_time | ( | enum ProfilerGfxEvent | eventID | ) |
void profiler_log_thread5_time | ( | enum ProfilerGameEvent | eventID | ) |
s16 gCurrentFrameIndex1 = 1 |
s16 gCurrentFrameIndex2 = 0 |
struct ProfilerFrameData gProfilerFrameData[2] |
s16 gProfilerMode = 0 |