startProfiler
Start profiling service on target computer
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.
Readystatus indicates that thetarget_objectexists, no profiling data is available, and thestartProfilerfunction has not been called.StartRequestedstatus indicates that thetarget_objectexists, no profiling data is available, thestartProfilerfunction has started the profiler, and the real-time application is not loaded.Runningstatus indicates that thetarget_objectexists, profiling data is being collected, thestartProfilerfunction has started the profiler, and the real-time application is loaded and running.DataAvailablestatus indicates that thetarget_objectexists, 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