Hi!
Currently, we use ESP32-LyraT v4.3 for our project. There's a configuration option, CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS, that can print some performance information, but it only goes to big tasks, like main and idle.
Is there any option to get at least that information for separate functions?
I assume that everything from ESP-IDF environment works correctly and I want to know which of my own code functions takes most of the time and try to optimize them.
I know that there's also JTAG interface connection possibility, but can I get on without it?
Thanks.
How to profile ESP32 application performance?
-
- Posts: 6
- Joined: Wed Aug 14, 2019 9:02 am
Re: How to profile ESP32 application performance?
Take a look at the Gcov Guide and Gcov Exmaple. It should be able to profile any functions of your choosing, but it requires JTAG.
Re: How to profile ESP32 application performance?
Not true, it goes for all tasks. I have been working on a "Htop" clone like thing.. Hope to post it soon.There's a configuration option, CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS, that can print some performance information, but it only goes to big tasks, like main and idle.
Its based on the example here.
https://github.com/espressif/esp-idf/tr ... time_stats
Who is online
Users browsing this forum: Google [Bot] and 119 guests