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
|
osProfileInitFormat#include <ultra64.h> void osProfileInit(OSProf *profp, u32 profcnt); What These Functions Do The osProfileInit, osProfileStart, osProfileStop, and osProfileFlush functions provide execution time profiling for disjoint text spaces. Profiling provides CPU-use statistics by profiling the amount of CPU time expended by a program in disjoint text spaces. For general profiling information including the OSProf structure's field elements, the debugging error messages, and possible problems, see the osProfile page. The osProfileInit function initializes the profiled segment count buffers and starts an IO thread that communicates profile data to the host when requested by the gperf tool. To use it, pass a pointer to an array of OSProf structures (profp) each element of which describes a segment to be profiled. The profcnt argument indicates the number of profiled segments. The osProfileInit function clears the counters for each profiled segment. A thread is started to service requests for profile data from the gperf tool. Profiling data can be dumped to the host any time after osProfileInit is called. Call osProfileInit before calling any other profiler function. See Also osProfileStart osProfileStop osProfileFlush gperf makerom (IRIX 5.3) makerom (IRIX 6.x)
|