25 #define DEFAULT_PROFILE {0, 0xFFFFFFFF, 0, 0, 0} 28 extern u32 (*OSGetTime)(void);
29 extern u32 (*OSGetTick)(void);
30 extern u32 (*OSGetSystemTime)(void);
31 extern u32 (*OSTimeToSystemTime)(void);
void endTrial(Profile *prof)
Finish timing your code.
Definition: profile.c:15
Data types for the gamecube.
u32 minTicks
Definition: profile.h:15
void startTrial(Profile *prof)
Start timing your code.
Definition: profile.c:10
key information about code performance
Definition: profile.h:12
u32 startTick
Definition: profile.h:20
uint32_t u32
Definition: gctypes.h:16
void printProfile(Profile *prof)
Print stats about your code performance.
Definition: profile.c:31
u32 numTrials
Definition: profile.h:18
u32 avgTicks
Definition: profile.h:16
u32 maxTicks
Definition: profile.h:14