al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
nuDebTaskPerfBar1Formatvoid nuDebTaskPerfBar1(u32 frameNum, u32 y, u32 flag) Arguments
none What This Function Does It displays a performance barometer (type 1) for a graphics task as well as for an audio task. This function internally creates the display list and activates the graphics task. Type 1 indicates the total amount of audio task and graphics task processing time by the RSP and RDP during a frame buffer draw is presented in this manner: Frame-1 Frame1 Frame2 Frame3 ************************************ (1) |==== | | | | (2) |============================ | (3) |======================= | | ************************************ (1) is the RSP's audio task process time (2) is the RSP's graphic task process time (3) is the RSP's graphic draw timeThe RSP's graphic task process time includes yield time. What is being measured is the time between the end of the current task specified by NU_SC_SWAPBUFFER and the end of the next task specified by NU_SC_SWAPBUFFER. This performance barometer helps you grasp the processing time of the RSP and RDP. You can use it to make adjustments when you want to squeeze things into a limited number of frames. This function can only use the debug libraries. If the nuGfxInit function is not employed, be sure to use the "zero position" microcode in the microcode structure array defined with the nuGfxSetUcode function. See Also nuGfxTaskStart nuGfxInit nuGfxSetUcode nuDebTaskPerfBar0
|