Scilab Function

showprofile - extracts and displays execution profiles of a Scilab function

Calling Sequence

showprofile(fun)

Parameters

Description

To use showprofile the Scilab function must have been prepared for profiling (see getf).

For such function, When such a function is executed the systems counts how many time each line is executed and how may cpu time is spend for each line execution. These data are stored within the function data structure. The showprofile function outputs profiling results (see profile) with text of the function lines.

Function text is rebuild with fun2string.

Examples

See Also