1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>Debug (Function Cost Measurement): Overview</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">Debug (Function Cost Measurement): Overview&nbsp;<IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1>
12<P>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.</P>
13<P>For more details, see <CODE>$TwlSDK/docs/TechnicalNotes/AboutProfiler.pdf</CODE>.</P>
14<H2>Initializing the Measurement Buffer</H2>
15<P><CODE><A href="OS_InitFunctionCost.html">OS_InitFunctionCost()</A></CODE></P>
16<P><CODE><A href="OS_CalcFunctionCostLines.html">OS_CalcFunctionCostLines()</A><BR> <A href="OS_CalcFunctionCostBufferSize.html">OS_CalcFunctionCostBufferSize()</A></CODE></P>
17<H2>Clearing the Measurement Buffer</H2>
18<P><A href="OS_ClearFunctionCostBuffer.html"><CODE>OS_ClearFunctionCostBuffer()</CODE></A></P>
19<H2>Enabling/Disabling Measurement</H2>
20<P><CODE><A href="OS_EnableFunctionCost.html">OS_EnableFunctionCost()</A><BR> <A href="OS_DisableFunctionCost.html">OS_DisableFunctionCost()</A><BR> <A href="OS_RestoreFunctionCost.html">OS_RestoreFunctionCost()</A></CODE></P>
21<H2>Initializing the Statistics Buffer</H2>
22<P><A href="OS_InitStatistics.html"><CODE>OS_InitStatistics()</CODE></A></P>
23<H2>Aggregating Data in the Statistics Buffer</H2>
24<P><CODE><A href="OS_CalcStatistics.html">OS_CalcStatistics()</A><BR> <A href="OS_CalcThreadStatistics.html">OS_CalcThreadStatistics()</A></CODE></P>
25<H2>Displaying the Statistics Buffer</H2>
26<P><CODE><A href="OS_DumpStatistics.html">OS_DumpStatistics()</A></CODE></P>
27<H2>See Also</H2>
28<P><CODE><A href="../list_os.html#Debug-FunctionCost">OS Function List (Debug) (Function Cost Measurement)</A><BR></CODE></P>
29<H2>Revision History</H2>
30<P>2008/09/16 Initial version.</P>
31<hr><p>CONFIDENTIAL</p></body>
32</HTML>