Main Content

Enable function execution profiling

Execution time profiling of functions called within entry-point functions during a SIL or PIL execution

Since R2023a

Description

App Configuration Pane: Debugging

Configuration Objects: coder.EmbeddedCodeConfig

Execution-time profiling of functions that are called within entry-point functions during a software-in-the-loop (SIL) or processor-in-the-loop (PIL) execution.

See Execution Time Profiling for SIL and PIL (Embedded Coder) and Generate Execution Time Profile (Embedded Coder).

Dependencies

CodeExecutionProfiling enables this parameter.

Settings

Off

This value is the default value.

Disables execution-time profiling of functions called within entry-point functions during a SIL or PIL execution.

On

Calculates execution times of functions called within entry-point functions, using data obtained from instrumentation code in the SIL or PIL application. Use the Code Profile Analyzer (Embedded Coder) to view the call tree and corresponding execution times for the generated code.

Programmatic Use

Property: CodeProfilingInstrumentation
Values: false | true
Default: false

Version History

Introduced in R2023a