#include <nitro/os.h>
u32 OS_CalcFunctionCostBufferSize( int lines );
lines | The number of lines of function cost calculation information that you want to store in a buffer |
The required buffer size.
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.
OS_InitFunctionCost, OS_CalcFunctionCostLines
2004/05/18 Initial version.
CONFIDENTIAL