# OS_ClearFunctionCostBuffer

## C Specification

  `#include <nitro/os.h>`
  `void OS_ClearFunctionCostBuffer( void );`

## Arguments

None.

## Return Values

None.

## Description

This function clears the function cost calculation buffer.

When data is accumulated in the cost statistics buffer, the calculation buffer is automatically cleared. Call this function if you want to explicitly clear the buffer.

If this function is compiled for debugging, it will function properly. However, if compiled for the final ROM version (`FINALROM`) library, it will not do anything.

## See Also

`OS_InitFunctionCost, OS_CalcStatistics
`

## Revision History

05/18/2004 Initial Version