Installation guide

Profiling fo r Improving Performance
IsRecursive: 0
PartialData: 0
7 To view the history data generated by profile,viewtheFunctionHistory,
for example,
stats.FunctionHistory. The history data is a 2-by-n array.
The first row contains Boolean values, where
0 (zero) m eans entrance into
a function and
1 means exit from a function. The second row identifies the
function being entered or exited by its index in the
FunctionTable field. To
see how to create a formatted display of history data, see the example on
the
profile reference page.
Saving Profile Reports
To save the profile report, use the profsave function.
This function stores the profile inform ationinseparateHTMLfiles,foreach
function listed in the
FunctionTable field of the structure, stats.
profsave(stats)
By default, profsave puts these HTM L files in a s ubdirectory of the current
directory named
profile_results. You can specify another directory name
as an optional second argument to
profsave.
profsave(stats,'mydir')
7-47