This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/DRA755:GLSDK 是否提供 API /命令来按需获取 SOC 内每个内核的负载?

Guru**** 2001725 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/568418/linux-dra755-does-the-glsdk-provide-an-api-command-to-get-the-load-on-each-core-inside-the-soc-upon-request

器件型号:DRA755

工具/软件:Linux

主题行中的问题。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 John:
    在 GPU、MPU、IVA 和 DSP1内核上可加载的应用很少、也可以通过应用程序以图形方式查看。
    在目标上,在 rootfs 的/tmp 目录中创建 fifo socfifo
    /tmp/socfifo
    CP /etc/visualization_scripts /*
    启动 Weston
    SoC 性能监控器

    您将在底部观察 CPU 负载图。 如果未看到、请修改 soc_performance_monitor.cfg 以获取顶部的 CPU 负载图并重新启动 SoC-performance-monitor

    以获取 mpuload
    $mpuload /tmp/socfifo 100

    以获取 IVA-LOAD
    $rprocinfo /tmp/socfifo 100 ivahd_vidsvr

    以加载 DSP1
    $rprocinfo /tmp/socfifo 100 dsp_vidsvr

    以获取 GPU 负载
    $pvrscope -f 0

    您可以观察所有这4个内核的 CPU 负载条。