Measure CPU Load in percentage
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I have converted simulink model to C code using Embedded Coder. Now, I would like to measure the CPU Load consumed for my software after flashing the code onto Aurix TC4X controller.
Do you have any leads that I can follow to achieve this task?
Thanks in advance!
0 comentarios
Respuestas (1)
Dheeraj
el 26 de Oct. de 2023
Hi,
I understand you’re looking for ways to measure the CPU load consumed for your software loaded onto Aurix TC4X controller, currently there is no way to measure your CPU stats.
You could use 3rd party tools like Lauterbach TRACE32 debugger to measure CPU load. You will need to connect the microcontroller to the debugger. Once the microcontroller is connected to the debugger, you can start the CPU load measurement. Once you have stopped the CPU load measurement, you can read the results from the debugger.
You could go through the link below for better insights.
Hope this helps.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!