Tool/software:
Hello TI team!
I will investigate SK-AM64B CORE to CORE dispatch time and task to task dispatch time.
I will use the IPC notify evcho application.
Please let me know how to measure it.
Environment:
CCS12.7.0
AM64x MCU+ SDK 09.02.01
SK-AM64B
I believe ClockP_getTimeUsec() can be used within the same CORE.
Q1: Is ClockP_getTimeUsec() the elapsed time since the CPU reset?
Q2. How do you measure the difference time between COREs?
t1 = RCV0-1 - SND0-0
t2 = RCV0-0 - RCV0-1
Q3 If return value of ClockP_getTimeUsec() returns the elapsed time since CPU reset
I think it is possible to measure the time by calculating the difference time based on the first RESET CORE.
Since I think I know the timing of CPU reset for SBL OSPI multipartition, I think I can calculate the difference time between COREs.
For SBL OSPI, I do not know the CPU reset timing. Please tell me how to measure it.
Q4.In case of Linux, cpu occupancy can be checked with the top command.
In case of MCU+SDK, how can I measure cpu occupancy?
Regards,
Yoshiki Koide