OS_CalcFunctionCostBufferSize

Syntax

#include <nitro/os.h>

u32 OS_CalcFunctionCostBufferSize( int lines );

Arguments

lines The number of lines of function cost calculation information that you want to store in a buffer

Return Values

The required buffer size.

Description

In the case of function cost calculations, this function obtains the size of the buffer that is required to secure a specified number of lines of function cost calculation information.

The return value is the minimum buffer size required to reserve lines of function cost calculation 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.

See Also

OS_InitFunctionCost, OS_CalcFunctionCostLines

Revision History

2004/05/18 Initial version.


CONFIDENTIAL