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
|
nuDebTaskPerfBar0Formatvoid nuDebTaskPerfBar0(u32 frameNum, u32 y, u32 flag) Arguments
none What This Function Does It displays a performance barometer (type 0) for a graphics task as well as for an audio task. This function internally sets the RDP, creates the display list, and activates the graphics task. Type 0 specifies that the timing information between frames at the start and stop of the RSP and RDP for audio and graphics tasks 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. The "Frame -1" frame is measured as if the frame buffer drawing begins before the next retrace comes. The third frame in the diagram will be "frame -1" in the subsequent performance barometer display. This performance barometer informs you of RDP free time. By executing graphic tasks in a way that keeps the RDP continuously active, you can boost performance. 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 nuDebTaskPerfBar1
|