Commit 7d34528
Andy Stokely
Add support for active alarm windows in MPAS timekeeping
This commit introduces active alarm windows, allowing alarms to be
constrained by explicit start and stop times. New helper functions
mpas_is_alarm_active and mpas_prev_ring_in_window enforce these bounds,
and mpas_in_ringing_envelope has been updated to use them. The
mpas_add_clock_alarm subroutine now accepts optional alarmStartTime and
alarmStopTime arguments, with defaults taken from the clock’s start and
stop times to preserve backward compatibility.1 parent 324573f commit 7d34528
File tree
4 files changed
+646
-9
lines changed- src
- core_test
- framework
4 files changed
+646
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
245 | 257 | | |
246 | 258 | | |
247 | 259 | | |
| |||
0 commit comments