evt_timer_service
Time-event service generating periodic and timeout events.
Inherited Component
Inherited Requirements
Relationship Diagram
SW Unit Relations
Incoming Relations
Relation |
UML Type |
Visibility |
Source Unit |
Description |
|---|---|---|---|---|
composition |
private |
Runtime supervisor owns timer event service. |
Data Types
Internal runtime context for evt_timer_service.
Struct Members
Name |
Type |
Description |
|---|---|---|
tick_period_ms |
Scheduler tick period. |
|
tick_counter |
Tick counter. |
|
timer_running |
Timer active state. |
|
missed_tick_flag |
Missed tick indicator. |
Event payload handled by evt_timer_service.
Struct Members
Name |
Type |
Description |
|---|---|---|
signal_id |
Timer event id. |
|
tick_index |
Tick sequence number. |
|
source_timer_id |
Source timer identifier. |
|
timeout_flag |
Timeout indicator. |
Result code for evt_timer_service operations.
Enum Members
Name |
Value |
Description |
|---|---|---|
OK |
0 |
Tick processed. |
TIMER_FAULT |
1 |
Underlying timer fault. |
MISSED_TICK |
2 |
Tick deadline missed. |
Attributes
Attribute |
Type |
Visibility |
Description |
|---|---|---|---|
ctx |
private |
Runtime context for evt_timer_service state timing and error tracking. |
Methods
dispatch
Return Type: evt_timer_service_result
Visibility: public
Description: Process one evt_timer_service event and update runtime outputs.
Parameters
Name |
Type |
Direction |
Description |
|---|---|---|---|
event |
in |
Process one evt_timer_service event and update runtime outputs. |
init
Return Type: evt_timer_service_result
Visibility: public
Description: Initialize evt_timer_service runtime state and dependencies.
Dynamic Behaviour
Activity Diagrams
evt_timer_service_activity
This activity diagram specifies timer management behavior for periodic and one shot timers including tick advancement expiry detection event emission and periodic reload policy.
Timing Diagrams
evt_timer_service_timing
This timing diagram captures expected timer event emission points for sampling protection and housekeeping deadlines and supports validation of temporal orchestration across runtime services.
Sequence Diagrams
SEQ-001_Runtime_Event_Orchestration
Primary runtime interoperability sequence showing scheduler tick propagation through dispatcher fan-out and deterministic active-object processing order across monitoring control safety diagnostics and communication units.
SEQ-005_Startup_To_Ready
Startup lifecycle sequence with explicit readiness gates before entering Run state.