#include <nitro/os.h>u32 OS_CalcCallTraceBufferSize( int lines );
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.
This function is for debugging. Therefore in the final ROM version (FINALROM) library it will always return 0.
lines |
The number of lines you want to reserve in a buffer |
The required buffer size
OS_InitCallTrace, OS_CalcCallTraceLines
04/22/2004 Initial Version