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
- profileDisable
- profileGetInfo