Enables the profiling of a function
add_profiling(funname)
A character string, the name of the function to be profiled
add_profiling
adds the instructions needed for the profiling of a function.
Then, when this function is executed, the number of calls and the
time spent, for each line, are stored.
These data can be returned with the profile function.
This function uses the Scilab functions bytecode
and
walkbytecode