OS_CalcCallTraceBufferSize


C Specification

#include <nitro/os.h>

u32 OS_CalcCallTraceBufferSize( int lines );

Description

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.

Arguments

lines The number of lines you want to reserve in a buffer

Return Values

The required buffer size

See Also

OS_InitCallTrace, OS_CalcCallTraceLines

Revision History

04/22/2004 Initial Version