Debug (Function Cost Measurement): Overview 

Function cost measurement is a debugging feature that is used to measure the number of times functions are called and the amount of time required to run functions.

For more details, see $TwlSDK/docs/TechnicalNotes/AboutProfiler.pdf.

Initializing the Measurement Buffer

OS_InitFunctionCost()

OS_CalcFunctionCostLines()
OS_CalcFunctionCostBufferSize()

Clearing the Measurement Buffer

OS_ClearFunctionCostBuffer()

Enabling/Disabling Measurement

OS_EnableFunctionCost()
OS_DisableFunctionCost()
OS_RestoreFunctionCost()

Initializing the Statistics Buffer

OS_InitStatistics()

Aggregating Data in the Statistics Buffer

OS_CalcStatistics()
OS_CalcThreadStatistics()

Displaying the Statistics Buffer

OS_DumpStatistics()

See Also

OS Function List (Debug) (Function Cost Measurement)

Revision History

2008/09/16 Initial version.


CONFIDENTIAL