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.

[参考译文] RM57L843:Hercules RM57L843测量 CPU 负载

Guru**** 2535150 points
Other Parts Discussed in Thread: RM57L843

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/994398/rm57l843-hercules-rm57l843-measure-cpu-load

器件型号:RM57L843

您好!

是否可以测量 RM57L843微控制器的 CPU 负载?

我们正在使用大量中断、微控制器上没有操作系统。

如果有任何测量 CPU 负载的可能性、我尝试将其进行 google 处理、我只找到了使用 FreeRTOS 的可能性、但我们没有使用任何操作系统、仅使用主循环、状态机和基于中断的 C 固件。

请帮我解决这个问题、如果可能的话、如何进行 CPU 负载测量。

此致、

Aron

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

    尊敬的  Aron:

    通常、RTOS 用于测量 CPU 负载。 CPU 负载= 100%-(空闲任务中花费的时间的百分比)。

    您可以尝试使用 PMU 或 RTI 来测量用于中断例程的周期。

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

    好的、感谢您的回答、您可以关闭该主题。