Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português do Brasil - 日本語 -
Scilab help >> Functions > profiling > remove_profiling

remove_profiling

Removes profiling instructions toout of a function.

Calling Sequence

remove_profiling(funname)

Arguments

funname

A character string, the name of the function

Description

remove_profiling(funname) Removes profiling instructions (if any) out of the function named funname.

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

  • profile — extract execution profiles of a Scilab function
  • plotprofile — extracts and displays execution profiles of a Scilab function
  • remove_profiling — Adds profiling instructions to a function.
  • reset_profiling — Resets profiling counters of a function.

Authors

  • Serge Steer, INRIA

Used Functions

This function uses the Scilab functions bytecode and walkbytecode

<< profile profiling reset_profiling >>

Consortium Scilab (DIGITEO)
Scilab Enterprises

Copyright (c) 2011-2012 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:10:04 CEST 2011