I collect task load statistics using uxTaskGetSystemState() and format in a 'top' style report. I am adding capability to the product one board at a time.
Recently I noticed a large jump in CPU utilisation from one of my activities. However the activity using the extra CPU cycles seems to change according to operating mode.
I am thinking that this may be cache related e.g. one or more activities need to load significant chunks of code from flash.
Is there a way to get in cache/out of cache run time statistics such that I may see the effect of my changes e.g. when I optimise some compilation units for code size but not others.
IRAM cache hit/miss statistics
IRAM cache hit/miss statistics
& I also believe that IDF CAN should be fixed.
Who is online
Users browsing this forum: Baidu [Spider] and 83 guests