Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Русский


profileEnable

Add instrumentation to a function, a library or all available functions

Syntax

profileEnable(function)
profileEnable(library)
profileEnable()

Arguments

function

A Scilab function.

library

A Scilab library.

Description

This command is used to add instrumentation to functions with execution counters incremented on a future function call. Each Scilab statement is instrumented independently by both an independent counter and a timer.

A library could also be instrumented to handle all of its functions.

Without argument, this command instrument all loaded libraries.

See also

  • profile — General information about instrumentation capabilities
  • profileDisable — Remove instrumentation from a function, a library or remove all instrumentation
  • profileGetInfo — Retrieve instrumentation information as a Scilab value
Report an issue
<< profileDisable Coverage profileGetInfo >>

Copyright (c) 2022-2024 (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:
Mon Jun 17 17:55:12 CEST 2024