Documentation

Enable Profiler

Start and stop profiler on target computer

  • Library:
  • Displays and Logging

Description

A rising edge on Start starts the profiler. A rising edge on Stop stops the profiler. A rising edge on both ports does nothing.

Ports

Input

expand all

When the Start input changes from 0 to 1, the block starts the profiler.

The profiler starts collecting data after the resources required to collect the data become available in the background. Profiler preparation can span several time steps.

Data Types: Boolean

When the Stop input changes from 0 to 1, the block stops the profiler.

If the profiler is still running when the application stops, the profiler stops by itself. You do not have to trigger the Stop input.

The amount of data collected is limited to 1GB. The profiler stops by itself when it reaches this limit.

Data Types: Boolean

Introduced in R2017b

Was this topic helpful?