Scilab Function

plotprofile - extracts and displays execution profiles of a Scilab function

Calling Sequence

plotprofile(fun)

Parameters

Description

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

For such functions, 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 plotprofile in an interactive function which displays this results in a graphic window. When a line is clicked text of the function is displayed with the selected line hilited.

NOTE: you have to click on the "Exit" item in the graphics windows to exit from "plotprofile".

Function text is rebuild with fun2string.

Examples

See Also