-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for vTaskList() in Arduino core so we can monitor task status #7179
Comments
We need to check if this will cause any performance/memory degradation first. |
If can view the cpu usage, is very useful for debugging, hope to support this function. |
Well, I'm no stranger to squeezing performance out of the ESP32 and I use it by default on my projects. |
I too would very much appreciate this support in the Arudino variant... just hit this omission myself! |
+1 |
+1, I would also need that feature in my project |
me 2 |
also need this feature and vTaskGetRunTimeStats() :-) |
so any new info on this? I would need it too, or maybe some way to recompile the lib ourself with the feature enabled? |
I wound up making my own idle threads that whack the watchdog and track whatever idle cycles they can burn, and that gives me overall CPU, but not per-task…
From: marnov999 ***@***.***>
Sent: Saturday, December 31, 2022 7:13 AM
To: espressif/arduino-esp32 ***@***.***>
Cc: David W Plummer ***@***.***>; Comment ***@***.***>
Subject: Re: [espressif/arduino-esp32] Support for vTaskList() in Arduino core so we can monitor task status (Issue #7179)
so any new info on this? I would need it too, or maybe some way to recompile the lib ourself with the feature enabled?
—
Reply to this email directly, view it on GitHub <#7179 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCFY4I4WS5YEWSOCXQWLWQBERLANCNFSM57QGGJKQ> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AA4HCF25GZ4NDDG2NGLBPX3WQBERLA5CNFSM57QGGJK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOKGG26YA.gif> Message ID: ***@***.*** ***@***.***> >
|
Yeah defo missing this too, just started using RTOS tasks, and need a way to list and monitor them. This looks like just the ticket. |
All, this has been discussed all over the internet for quite a while now, we should get it :) |
Hello all, changing this to 3.1.0 milestone, we are starting investigating if this is doable and let you know. @lucasssvaz will do the research and share the updates later here. |
We'll first need to implement some way to easily reconfigure and recompile the libs for the users. Currently working on that. espressif/esp32-arduino-lib-builder#158 |
Will something like that work? #10515 (comment) |
It would be the best if it would return or populate an array or json instead of printing it out. That way we could actually do something with the results |
@hitecSmartHome that is up to you to implement. You can use the code in the PR as starting point. Array is already used there and that is what is printed. |
I see. |
Related area
FreeRTOS
Hardware specification
All esp32 devices
Is your feature request related to a problem?
No
Describe the solution you'd like
Current when you use vTaskList() FreeRTOS API and try to compile, you get this error: "undefined reference".
The runtime stats must be enabled in FreeRTOS so you can use this API. I think the solution is to enable runtime stats by default.
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: