startProfiler
Description
startProfiler(
starts the profiler on the Speedgoat® target computer.
You can start the profiler before or after you load the real-time
application on the
target computer. Before you
start the application, you
must start the
profiler.target_object
,app_name
)
The startProfiler
function affects the value of
the target_object
property
ProfilerStatus
.
Ready
status indicates that thetarget_object
exists, no profiling data is available, and thestartProfiler
function has not been called.StartRequested
status indicates that thetarget_object
exists, no profiling data is available, thestartProfiler
function has started the profiler, and the real-time application is not loaded.Running
status indicates that thetarget_object
exists, profiling data is being collected, thestartProfiler
function has started the profiler, and the real-time application is loaded and running.DataAvailable
status indicates that thetarget_object
exists, profiling data is available, and the real-time application and the profiler have stopped.
When the profiler starts and stops, there is an increase in task execution time (TET) that can cause a CPU overload condition. If using profiler causes CPU overload, you can increase the sample time in order to use the profiler.
Examples
Input Arguments
Version History
Introduced in R2020b