Procedure

  1. Set enable_ps to true in ${MX_SDK_HOME}/config/sdk.conf to enable the performance statistics function.
  2. Adjust the interval for collecting performance statistics. The default interval is 60 seconds, which is too long. Set ps_interval_time to 6 to collect performance statistics every 6 seconds.
  3. Add the queue plugin to the pipeline file. If no queue plugin is used in the pipeline, the queue length is not measured.
    Figure 1 Adding a queue plugin to the pipeline file
  4. Start the MindX SDK service.