-
Notifications
You must be signed in to change notification settings - Fork 202
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
Fix #2095, Automatic suppression of flooding events #2109
Commits on May 27, 2022
-
Fix #2095, Automatic suppression of flooding events
This adds automatic event suppression, which works by decrementing a token counter every time an event message is sent. When it becomes negative an event message is emitted and further event messages are squelched until the tokens increase above 0. Tokens are returned (incremented) at the rate of CFE_PLATFORM_EVS_APP_EVENTS_PER_SEC, upon the next event message call for the app, based on time since last token return. This avoids a dependency on HK wake messages, which are not guaranteed to be at 1Hz, or received at all. There are limits in place to prevent tokens from being above CFE_PLATFORM_EVS_MAX_APP_EVENT_BURST and below -CFE_PLATFORM_EVS_MAX_APP_EVENT_BURST. The initial value upon registration is CFE_PLATFORM_EVS_MAX_APP_EVENT_BURST.
Configuration menu - View commit details
-
Copy full SHA for 7f69279 - Browse repository at this point
Copy the full SHA 7f69279View commit details
Commits on Jun 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9379f37 - Browse repository at this point
Copy the full SHA 9379f37View commit details
Commits on Jun 6, 2022
-
Address github and peer review comments
* Use EVS global lock * Use increments of 1000 for tokens to avoid integer division * Use global variable instead of using platform_cfg file defines directly to allow unit tests to override value * Fix EVS event message ID
Configuration menu - View commit details
-
Copy full SHA for ea15e8d - Browse repository at this point
Copy the full SHA ea15e8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4be5407 - Browse repository at this point
Copy the full SHA 4be5407View commit details
Commits on Jun 7, 2022
-
Fix zero-crossing squelch event not being emitted, and add CFE error …
…code for events being squelched.
Configuration menu - View commit details
-
Copy full SHA for da9a2d1 - Browse repository at this point
Copy the full SHA da9a2d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 920ddd5 - Browse repository at this point
Copy the full SHA 920ddd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aa0ceb - Browse repository at this point
Copy the full SHA 7aa0cebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0009a04 - Browse repository at this point
Copy the full SHA 0009a04View commit details -
Merge branch 'auto-event-suppression' of ssh://va31spax062f:/data/wor…
…kspace/phamj/CSIC9/hfi/cfe into auto-event-suppression
Configuration menu - View commit details
-
Copy full SHA for d8eb850 - Browse repository at this point
Copy the full SHA d8eb850View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8da13d6 - Browse repository at this point
Copy the full SHA 8da13d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c4b41d - Browse repository at this point
Copy the full SHA 0c4b41dView commit details