Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Enumerations | Functions | Variables
profiler.h File Reference
#include "types.h"

Go to the source code of this file.

Data Structures

struct  ProfilerFrameData
 

Enumerations

enum  ProfilerGameEvent {
  THREAD5_START, LEVEL_SCRIPT_EXECUTE, BEFORE_DISPLAY_LISTS, AFTER_DISPLAY_LISTS,
  THREAD5_END
}
 
enum  ProfilerGfxEvent { TASKS_QUEUED, RSP_COMPLETE, RDP_COMPLETE }
 

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 (void)
 

Variables

u64 osClockRate
 

Enumeration Type Documentation

◆ ProfilerGameEvent

Enumerator
THREAD5_START 
LEVEL_SCRIPT_EXECUTE 
BEFORE_DISPLAY_LISTS 
AFTER_DISPLAY_LISTS 
THREAD5_END 

◆ ProfilerGfxEvent

Enumerator
TASKS_QUEUED 
RSP_COMPLETE 
RDP_COMPLETE 

Function Documentation

◆ draw_profiler()

void draw_profiler ( void  )

◆ profiler_log_gfx_time()

void profiler_log_gfx_time ( enum ProfilerGfxEvent  eventID)

◆ profiler_log_thread4_time()

void profiler_log_thread4_time ( void  )

◆ profiler_log_thread5_time()

void profiler_log_thread5_time ( enum ProfilerGameEvent  eventID)

◆ profiler_log_vblank_time()

void profiler_log_vblank_time ( void  )

Variable Documentation

◆ osClockRate

u64 osClockRate