|
SSBM Decomp
|
#include <dolphin.h>#include "../gx/__gx.h"#include "__perf.h"#include <dolphin/gx.h>#include <dolphin/perf.h>Macros | |
| #define | TOKEN_MAX 0xFFFF |
Functions | |
| static void | PERFResetAllMemMetrics () |
| static void | PERFGetAllMemMetrics (struct PerfSample *s, unsigned long i) |
| void | PERFSetDrawSyncCallback (void(*cb)(unsigned short)) |
| static void | PERFTokenCallback (unsigned short token) |
| unsigned long | PERFInit (unsigned long numSamples, unsigned long numFramesHistory, unsigned long numTypes, void *(*allocator)(unsigned long), void(*deallocator)(void *), void(*initDraw)()) |
| void | PERFSetEvent (unsigned char id, char *name, PerfType type) |
| void | PERFSetEventColor (unsigned char id, GXColor color) |
| void | PERFStartFrame () |
| void | PERFEndFrame () |
| void | PERFEventStart (unsigned char id) |
| __declspec (weak) | |
| void | PERFEventEnd (unsigned char id) |
| static void | PERFStartAutoSample () |
| static void | PERFEndAutoSample () |
| static void | PERFTimerCallback (OSAlarm *alarm, OSContext *context) |
| void | PERFStartAutoSampling (float msInterval) |
| void | PERFStopAutoSampling () |
Variables | |
| static struct OSAlarm | PERFAlarm |
| static volatile long | CurrAutoSample = 0xFFFFFFFF |
| static volatile unsigned long | CurrToken |
| static volatile unsigned char | magic |
| static void *(* | PerfAlloc )(unsigned long) |
| static void(* | PerfFree )(void *) |
| static void(* | DSCB )(unsigned short) |
| unsigned long | PERFNumFrames |
| unsigned long | PERFNumEvents |
| unsigned long | PERFNumSamples |
| struct Frame * | PERFFrames |
| struct PerfEvent * | PERFEvents |
| unsigned long | PERFCurrFrame |
| volatile long | PERFCurrSample |
| #define TOKEN_MAX 0xFFFF |
|
static |
|
static |
| void PERFSetDrawSyncCallback | ( | void(* | cb )(unsigned short) | ) |
|
static |
| unsigned long PERFInit | ( | unsigned long | numSamples, |
| unsigned long | numFramesHistory, | ||
| unsigned long | numTypes, | ||
| void *(* | allocator )(unsigned long), | ||
| void(* | deallocator )(void *), | ||
| void(* | initDraw )() ) |
| void PERFSetEvent | ( | unsigned char | id, |
| char * | name, | ||
| PerfType | type ) |
| void PERFSetEventColor | ( | unsigned char | id, |
| GXColor | color ) |
| void PERFStartFrame | ( | void | ) |
| void PERFEndFrame | ( | void | ) |
| void PERFEventStart | ( | unsigned char | id | ) |
| __declspec | ( | weak | ) |
| void PERFEventEnd | ( | unsigned char | id | ) |
|
static |
|
static |
| void PERFStartAutoSampling | ( | float | msInterval | ) |
| void PERFStopAutoSampling | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| unsigned long PERFNumFrames |
| unsigned long PERFNumEvents |
| unsigned long PERFNumSamples |
| struct Frame* PERFFrames |
| struct PerfEvent* PERFEvents |
| unsigned long PERFCurrFrame |
| volatile long PERFCurrSample |