-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[ReadHandler] Handler Reportable if timer fired #28949
[ReadHandler] Handler Reportable if timer fired #28949
Conversation
PR #28949: Size comparison from 5e09d74 to 650aa4c Increases (53 builds for bl702, bl702l, cc32xx, cyw30739, esp32, k32w, linux, nrfconnect, psoc6, qpg, telink)
Decreases (13 builds for bl602, bl702, bl702l, cc32xx, esp32, psoc6)
Full report (62 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my personal knowledge, in what case does a timer fire early?
PR #28949: Size comparison from 5e09d74 to 351e803 Increases (53 builds for bl702, bl702l, cc32xx, cyw30739, esp32, k32w, linux, nrfconnect, psoc6, qpg, telink)
Decreases (16 builds for bl602, bl702, bl702l, cc32xx, esp32, linux, psoc6)
Full report (62 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
@jmartinez-silabs In cases like this: #28434 (comment), basically can happen on OS that are not real time (or at least with non real time timers), or on systems where the clock can get adjusted, could probably happen with timers that do not have precise ms resolution as well. |
* Now using the EngineRunScheduled to assess reportability in the scheduler * Added note to IsReportableNow to explain the use of IsEngineRunScheduled flag
This addresses: #28929
We are now using the EngineRunScheduled flag to assess if a ReadHandler is reportable. This means if a timer has fired for a read handler, it will be considered as reportable regardless of the min and max interval as the timer should have fired for the min interval only if the handler is dirty or have fired on the max interval.