-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Is your feature request related to a problem? Please describe.
This timer snapshot API would be used during development to provide a simple API to gather the details of all timers at a given moment. User wording below.
Primarily used during development and testing stage to report of status of all timers to keep track of status (armed/running or not), type (periodic or auto) etc to monitor and check when something should fire.
We are using the task snapshot functionality to produce task reports as per screenshot.
Similarly we are using ESP-IDF memory iteration reporting to produce memory type report, se other screenshot.
Describe the solution you'd like
User wording of solution below.
We would find a mechanism to get a snapshot of all timers very useful.
This could be in the form of:
a) task list type snapshot, all timer info returned in 1 function call into a supplied buffer; or
b) iterator type mechanism returning all info for a single timer at a time into the supplied buffer.
Describe alternatives you've considered
Alternatives which may be considered include creating a custom function which provides similar/the same functionality by looping through tracked task handles and calling
How many devices will this feature impact?
Unknown
What are your project timelines?
Unknown
Additional context
If you have the same (or similar) feature request, please upvote this issue with thumbs up 👍
and use the comments section to provide answers to the questions above.