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.

SK-AM64B: How to investigate CPU load ratio of tasks and interrupts

Part Number: SK-AM64B

Tool/software:

Hello TI team!

I am investigating the CPU load factor.

Environment:
  CCS12.7.0
  AM64x MCU+ SDK 09.02.01
  SK-AM64B

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1392509/faq-how-to-profile-cpu-usage-with-mcu-sdk

I used TaskP_loadGetTotalCpuLoad() to check the CPU load rate for tasks and ISRs.

Next, I would like to examine the load ratio of tasks and interruptions separately.

For interrupts, I would like to know the load rate of I2C, MCAN, and ETHER.
  I want to use the i2C sample application i2c_led_blink_interrupt_lld to check the CPU load rate of I2C interrupts.
  In MCAN, I want to use mcan_loopback_interrupt application to check the CPU load rate of CAN interrupts.
  In ETHER, I want to use the enet_cpsw_loopback application to check the CPU load rate of ETHER send/receive interrupts.

How can I examine the CPU load ratio of tasks and interrupts separately?

https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/09_02_01_05/exports/docs/api_guide_am64x/group__SDL__R5FCPU__API.html

https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/09_02_01_05/exports/docs/api_guide_am64x/structSDL__R5FCPU__StaticRegs.html

https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/09_02_01_05/exports/docs/api_guide_am64x/structSDL__R5FCPU__StaticRegs.html#a37f206e43f9d1e672e7fc59b8e910982

Is ID_ISAR0 the interrupt load factor?
I am not sure.
I don't think it is mentioned in the Technical Reference Manual.

Regards,

Yoshiki Koide