Part Number: AM6442
Hi,
I have a small application mainly consisting of a 10 us period ISR that services a FPGA connected via GPMC. Using a 125 MHz ECAP counter, my ISR (the user part) takes more than 1000 of the 1250 cycles of the period, i. e., the CPU load surely is > 80 %.
I also have a 1 ms clock ISR that does
/* measure cpu load (percentage with 2 decimals, 100 = 1%) */
clock1ms_cpuload = TaskP_loadGetTotalCpuLoad();
TaskP_loadResetAll();
cheerfully returning the grossly incorrect clock1ms_cpuload = 865, suggesting a CPU load of 8.65 %.
The CPU does a lot of slow accesses to GPMC, uncached shared memory and other peripherals. Doesn't the TaskP_loadGetTotalCpuLoad take this into account?
Any explanation?
Thanks & regards,
Frank
