#include <nitro/os.h>
u32 OS_CalcCallTraceBufferSize( int lines );
lines | The number of lines you want to reserve in a buffer |
The required buffer size.
This function obtains the buffer size that is required to reserve the number of lines specified for function call trace information.
The return value is the minimum buffer size required to reserve lines
of function call trace information.
If this function is compiled for debugging, it will function properly. However, if compiled for the final ROM version (FINALROM) library, it will always return 0.
OS_InitCallTrace, OS_CalcCallTraceLines
2004/04/22 Initial version.
CONFIDENTIAL