Main Content

Measure task execution time

Description

Measure execution times and generate metrics for tasks in generated code.

Category: Code Generation > Verification

Settings

Default: off

On

During SIL and PIL simulations, collect execution-time measurements for tasks. The software obtains data from instrumentation in the SIL or PIL application.

Off

Do not collect measurements of execution times

Dependencies

When you use this parameter, you must also specify a workspace variable. The software uses this variable to collect execution-time measurements.

In a model reference hierarchy, the top-model parameter value applies to the whole hierarchy. The software ignores the value of this parameter in referenced models.

Command-Line Information

Parameter: CodeExecutionProfiling
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyOff
Safety precaution

No recommendation

Related Topics