<< profile profiling reset_profiling >>

removed >> removed > 5-5-2 > profiling > remove_profiling

remove_profiling

Disables the profiling of a function

Calling Sequence

remove_profiling(funname)

Arguments

funname

A character string, the name of the profiled function

Description

remove_profiling removes the instructions needed for the profiling of a function.

This function uses the Scilab functions bytecode and walkbytecode

Examples

function x=foo(a, n)
 x=0;
 for i=1:n
   if x<10 then
     x=x+a
   else
     x=x+1
   end
 end
 x=x^2+1
endfunction

add_profiling("foo")
foo(0.1,100) //run the function
profile(foo) //extract profile information
remove_profiling("foo")

See Also

History

VersionDescription
5.5.2 remove_profiling was removed after Scilab 5.5.2.

Report an issue
<< profile profiling reset_profiling >>