Component Architecture#

HealthMonitor Architecture
status: draft
security: NO
safety: ASIL_B
version: 1

Attention

The above directive must be updated according to your needs.

  • Modify Your Component Name to be your Component Name

  • Modify id to be your Component Name in upper snake case preceded by doc__ and followed by _architecture

  • Adjust status to be valid

  • Adjust safety and tags according to your needs

Overview#

This document describes the HealthMonitor component architecture.

Health Monitor
status: valid
security: YES
safety: ASIL_B
bazel_target: ["@@//score/health_monitor/src/cpp:health_monitoring_cc","@@//score/health_monitor/src/rust:health_monitoring_lib"]
bazel_type: ["cc_library","rust_library"]
version: 1
belongs to: feat__lifecycle
satisfies: comp_req__health_monitor__alive_notify, comp_req__health_monitor__alive_withhold, comp_req__health_monitor__bounded_api, comp_req__health_monitor__cfg_cycle_multiple, comp_req__health_monitor__cfg_no_monitor, comp_req__health_monitor__cfg_sub_ms, comp_req__health_monitor__cfg_time_range, comp_req__health_monitor__complete_activation, comp_req__health_monitor__concurrency, comp_req__health_monitor__cyclic_eval, comp_req__health_monitor__deadline_exclusive, comp_req__health_monitor__deadline_id, comp_req__health_monitor__detect_latency, comp_req__health_monitor__dl_cfg, comp_req__health_monitor__dl_failed_reuse, comp_req__health_monitor__dl_late_stop, comp_req__health_monitor__dl_no_stop, comp_req__health_monitor__dl_too_early, comp_req__health_monitor__dummy, comp_req__health_monitor__fail_silent, comp_req__health_monitor__failure_latch, comp_req__health_monitor__failure_log, comp_req__health_monitor__hb_cfg, comp_req__health_monitor__hb_multiple, comp_req__health_monitor__hb_too_early, comp_req__health_monitor__hb_too_late, comp_req__health_monitor__lg_cfg_no_initial, comp_req__health_monitor__lg_cfg_no_state, comp_req__health_monitor__lg_cfg_undef_target, comp_req__health_monitor__lg_initial, comp_req__health_monitor__lg_invalid_trans, comp_req__health_monitor__lg_unknown_state, comp_req__health_monitor__mem_guard_detect, comp_req__health_monitor__mem_guard_pages, comp_req__health_monitor__monitor_id, comp_req__health_monitor__monitor_once, comp_req__health_monitor__monotonic_time, comp_req__health_monitor__nonblocking_api, comp_req__health_monitor__state_id, comp_req__health_monitor__static_memory, comp_req__health_monitor__time_granularity, comp_req__health_monitor__time_range_bounds
coverage: lines no data · branches no data · files 0/38

The Health Monitor component provides a set of functionalities to verify the health of the system and its components. It includes monitoring deadlines, logic, and heartbeats to ensure proper system functioning.

Description#

This component provides a set of functionalities to manage the lifecycle of programs running on the S-CORE platform.

Requirements Linked to Component Architecture#

TODO

Rationale Behind Architecture Decomposition#

Architecture is not decomposed.

Static Architecture#

Health Monitor Static View
status: valid
security: NO
safety: ASIL_B

Deadline Monitor
status: valid
security: NO
safety: ASIL_B
version: 1

Logic Monitor
status: valid
security: NO
safety: ASIL_B
version: 1

Health Monitor
status: valid
security: NO
safety: ASIL_B
version: 1

Dynamic Architecture#

HealthMonitor Creation
status: valid
security: NO
safety: ASIL_B
version: 1

HealthMonitor background thread
status: valid
security: NO
safety: ASIL_B
version: 1

DeadlineMonitor Usage
status: valid
security: NO
safety: ASIL_B
version: 1

LogicMonitor Usage
status: valid
security: NO
safety: ASIL_B
version: 1

HeartbeatMonitor Usage
status: valid
security: NO
safety: ASIL_B
version: 1

Health Monitoring Startup Interaction
status: valid
security: NO
safety: ASIL_B
version: 1

Health Monitoring Shutdown Interaction
status: valid
security: NO
safety: ASIL_B
version: 1

Interfaces#

DeadlineMonitor Interface
status: valid
security: NO
safety: ASIL_B
language: rust
version: 1

LogicMonitor Interface
status: valid
security: NO
safety: ASIL_B
language: rust
version: 1

HeartbeatMonitor Interface
status: valid
security: NO
safety: ASIL_B
language: rust
version: 1

HealthMonitor Interface
status: valid
security: NO
safety: ASIL_B
language: rust
version: 1