Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide de Scilab >> Fonctions avancées > profiling > remove_profiling

remove_profiling

Désactive le profiling d'une fonction

Séquence d'appel

remove_profiling(funname)

Paramètres

funname

Une chaine de caractères: le nom de la fonction profilée.

Description

remove_profiling supprime les instructions nécessaires au profiling d'une fonction.

Exemples

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) //execution de la fonction
profile(foo) //extraction des informations de profil
remove_profiling("foo")

Voir aussi

  • profile — Renvoie les résultats du profiling d'une fonction
  • plotprofile — Displays the profiling charts of a function
  • add_profiling — Active le profiling d'une fonction
  • reset_profiling — remet à zéro les compteurs de profil du code d'une fonction

Fonctions utilisées

Cette fonction utilise les fonctions Scilab bytecode and walkbytecode

Report an issue
<< profile profiling reset_profiling >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 13:54:44 CEST 2014