I’m executing a bare-metal task (Matrix mul) from ITIM .
I placed code, data and stack in ITIM of U54 application core. code contains a task (matrix multiplication) running in a loop. There is no other task executing in the system (all other cores are busy waiting/WFI) .
Before_time = gettime();
After_timer = gettime();
printf(“Execution time %ld\n”, After_time - Before_time); // Execution time not constant
I noticed that for every iteration, execution time of the task is changing. Could anyone help me understand why it is happening ? Since data and stack is in ITIM already it should give same execution time for every loop iteration ?
Thanks in advance