结构体 ara::tsync::TimeSlaveMeasurementType
[SWS_TS_00415] Upstream: RS_TS_00034 原文尚未导入
struct TimeSlaveMeasurementType final {...};
Structure with detailed data for validation of the Time Slave .
| Header-Datei | #include "ara/tsync/time_validation_measurement_types.h" |
|---|
| Forwarding-Header | #include "ara/tsync/tsync_fwd.h" |
|---|
| Scope | namespace ara::tsync |
|---|
用户指南人工智能生成
提供同步周期的测量时间和协议数据,以用于验证 Time Slave。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 8110e02020a5
来源
未决问题(2)
提供同步周期的测量时间和协议数据,以用于验证 Time Slave。
该结构用于采集和提供详细的测量及协议数据,以持续验证 Time Slave [SWS_TS_14156] 的同步行为。为此,它将接收到的同步消息的外部时间戳和校正值与当前有效的路径延迟值以及本地参考时间戳捆绑在一起 [SWS_TS_14155]。作为被动数据对象,该类型没有自己的控制逻辑,通常可能在每个同步周期被实例化,并传递给上层分析组件进行合理性检查。 问题 (未决)
上下文
结构 ara::tsync::TimeSlaveMeasurementType 在 Time Synchronization (tsync) 功能集群内用于提供详细的测量数据以验证 Time Slave。在分布式 AUTOSAR 系统的同步时间通信框架下,确保时间精度需要对同步步骤进行可靠的校验。在此过程中,该结构充当标准化数据容器,聚合了一个同步周期中与协议相关的测量值。
该交互主要涉及三个组件:外部 Time Master、接收方 Time Slave 以及下游验证或诊断实例。Time Slave 接收 Master 的同步消息,并从中提取协议特定特征值,例如 Sync 帧的序列号 sequenceId [SWS_TS_14156],以及关联 Follow-Up 帧中的校正值 correctionField [SWS_TS_14153] 和发送时间点 preciseOriginTimestamp [SWS_TS_14150]。结合本地时间戳和当前路径延迟值 pDelay [SWS_TS_14155],Time Slave 将这些数据提供给验证实例,以评估同步质量。
生命周期
作为纯数据容器 (struct ... final),ara::tsync::TimeSlaveMeasurementType 没有自己的状态机,也没有活动的生命周期阶段。一旦 Time Slave 处理了一对相关的 Sync 帧和 Follow-Up 帧,实例通常可能作为临时值对象在栈上或内部缓冲区中被实例化。 问题 Q-d6401d9eff1764d3 (未决)在此初始化阶段,所有属性均被一致填充,包括全局部分 referenceGlobalTimestamp [SWS_TS_14151] 和虚拟本地部分 referenceLocalTimestamp [SWS_TS_14154] 的参考时间戳以及接收时间戳 syncIngressTimestamp [SWS_TS_14152]。
填充后,该对象被传递给执行评估的验证逻辑。由于该结构不包含用于并发访问的任何同步机制,应用程序在跨线程传递时必须确保外部同步或通过复制进行传递。一旦完成同步参数的检查,对象的生命周期便通过正常的内存释放而结束。
使用路径
采集和提供测量数据的常规流程遵循同步协议的顺序:
- 接收 Sync 帧:当同步帧到达时,Time Slave 将虚拟本地时间的到达时间记录为
syncIngressTimestamp [SWS_TS_14152] 并获取 sequenceId [SWS_TS_14156]。
- 接收 Follow-Up 帧:从后续消息中读取发送时间点
preciseOriginTimestamp [SWS_TS_14150] 以及校正字段 correctionField [SWS_TS_14153]。
- 整合本地参数:Time Slave 将当前确定的传播延迟值
pDelay [SWS_TS_14155] 以及由 referenceGlobalTimestamp [SWS_TS_14151] 和 referenceLocalTimestamp [SWS_TS_14154] 组成的时间元组补充到结构中。
- 传递以供验证:整合后的结构被传输到验证实例,验证实例检查数据是否存在偏差。
时序图:Time Slave 处用于验证的测量数据采集流程。来源:[SWS_TS_14150]、[SWS_TS_14152]、[SWS_TS_14153]、[SWS_TS_14156]。
错误场景
由于 ara::tsync::TimeSlaveMeasurementType 表现为没有方法的被动数据结构,它本身不抛出异常也不报告错误代码。错误状态间接地通过所包含值的合理性体现出来:
因此,评估实例在进一步处理数据结构之前,必须检查其完整性和合理性。
本指南基于 Adaptive Platform R25-11 的 AUTOSAR 规范并自动生成。
成员图
类图
Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
详细视图
此版本没有元素数据
常量
correctionField taken from the received Follow_Up frame
currently valid pDelay value
preciseOriginTimestamp taken from the received Follow_Up frame
SyncLocal Time Tuple (Global Time part) .
SyncLocal Time Tuple (Virtual Local Time part) .
sequence Id of received Sync frame
ingress timestamp of Sync frame converted to Virtual Local Time
常量 / 变量文档
变量 correctionField [SWS_TS_14153] Upstream: RS_TS_00034 原文尚未导入
std::int64_t correctionField;
correctionField taken from the received Follow_Up frame
Status: valid/unmigrated
Version: rel:R25-11#16933053
Versionshistorie & Revisions (1 transition, 8 revision)
- Current State
valid/unmigrated
- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill
- Active Version
AUTOSAR/AP/record/SWS_TS_14153@rel:R25-11#16933053
Point-in-Time History:
Recorded Revisions (8):
- R25-11
rel:R25-11#2bb5ffc72026-09-30 - R19-11
rel:R19-11#30c23b422026-10-14 - R20-11
rel:R20-11#8189d0922026-10-14 - R21-11
rel:R21-11#8189d0922026-10-14 - R22-11
rel:R22-11#baeff18f2026-10-14 - R23-11
rel:R23-11#169330532026-10-14 - R24-11
rel:R24-11#169330532026-10-14 - R25-11
rel:R25-11#169330532026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
变量 pDelay [SWS_TS_14155] Upstream: RS_TS_00034 原文尚未导入
std::uint32_t pDelay;
currently valid pDelay value
Status: valid/unmigrated
Version: rel:R25-11#34f610ab
Versionshistorie & Revisions (1 transition, 8 revision)
- Current State
valid/unmigrated
- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill
- Active Version
AUTOSAR/AP/record/SWS_TS_14155@rel:R25-11#34f610ab
Point-in-Time History:
Recorded Revisions (8):
- R25-11
rel:R25-11#832726002026-09-30 - R19-11
rel:R19-11#f4a585242026-10-14 - R20-11
rel:R20-11#7df9cc762026-10-14 - R21-11
rel:R21-11#e1a7beb32026-10-14 - R22-11
rel:R22-11#20f8a9202026-10-14 - R23-11
rel:R23-11#34f610ab2026-10-14 - R24-11
rel:R24-11#34f610ab2026-10-14 - R25-11
rel:R25-11#34f610ab2026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
变量 preciseOriginTimestamp [SWS_TS_14150] Upstream: RS_TS_00034 原文尚未导入
ara::tsync::Timestamp preciseOriginTimestamp;
preciseOriginTimestamp taken from the received Follow_Up frame
Status: valid/unmigrated
Version: rel:R25-11#99ab17c7
Versionshistorie & Revisions (1 transition, 8 revision)
- Current State
valid/unmigrated
- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill
- Active Version
AUTOSAR/AP/record/SWS_TS_14150@rel:R25-11#99ab17c7
Point-in-Time History:
Recorded Revisions (8):
- R25-11
rel:R25-11#baa131922026-09-30 - R19-11
rel:R19-11#c9dd405f2026-10-14 - R20-11
rel:R20-11#d84f69a62026-10-14 - R21-11
rel:R21-11#d84f69a62026-10-14 - R22-11
rel:R22-11#e0032b2b2026-10-14 - R23-11
rel:R23-11#99ab17c72026-10-14 - R24-11
rel:R24-11#99ab17c72026-10-14 - R25-11
rel:R25-11#99ab17c72026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
变量 referenceGlobalTimestamp [SWS_TS_14151] Upstream: RS_TS_00034 原文尚未导入
ara::tsync::Timestamp referenceGlobalTimestamp;
SyncLocal Time Tuple (Global Time part) .
Status: valid/unmigrated
Version: rel:R25-11#c53a9209
Versionshistorie & Revisions (1 transition, 8 revision)
- Current State
valid/unmigrated
- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill
- Active Version
AUTOSAR/AP/record/SWS_TS_14151@rel:R25-11#c53a9209
Point-in-Time History:
Recorded Revisions (8):
- R25-11
rel:R25-11#5664d0692026-09-30 - R19-11
rel:R19-11#b00927ac2026-10-14 - R20-11
rel:R20-11#696b6c522026-10-14 - R21-11
rel:R21-11#0a28fd072026-10-14 - R22-11
rel:R22-11#a11a71142026-10-14 - R23-11
rel:R23-11#c53a92092026-10-14 - R24-11
rel:R24-11#c53a92092026-10-14 - R25-11
rel:R25-11#c53a92092026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
变量 referenceLocalTimestamp [SWS_TS_14154] Upstream: RS_TS_00034 原文尚未导入
std::uint64_t referenceLocalTimestamp;
SyncLocal Time Tuple (Virtual Local Time part) .
Status: valid/unmigrated
Version: rel:R25-11#da430f0c
Versionshistorie & Revisions (1 transition, 8 revision)
- Current State
valid/unmigrated
- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill
- Active Version
AUTOSAR/AP/record/SWS_TS_14154@rel:R25-11#da430f0c
Point-in-Time History:
Recorded Revisions (8):
- R25-11
rel:R25-11#0b0854ad2026-09-30 - R19-11
rel:R19-11#b6c4a6472026-10-14 - R20-11
rel:R20-11#b93801742026-10-14 - R21-11
rel:R21-11#b93801742026-10-14 - R22-11
rel:R22-11#d180e00f2026-10-14 - R23-11
rel:R23-11#da430f0c2026-10-14 - R24-11
rel:R24-11#da430f0c2026-10-14 - R25-11
rel:R25-11#da430f0c2026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
变量 sequenceId [SWS_TS_14156] Upstream: RS_TS_00034 原文尚未导入
std::uint16_t sequenceId;
sequence Id of received Sync frame
Status: valid/unmigrated
Version: rel:R25-11#27161e6e
Versionshistorie & Revisions (1 transition, 8 revision)
- Current State
valid/unmigrated
- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill
- Active Version
AUTOSAR/AP/record/SWS_TS_14156@rel:R25-11#27161e6e
Point-in-Time History:
Recorded Revisions (8):
- R25-11
rel:R25-11#8321eb9d2026-09-30 - R19-11
rel:R19-11#6ad719fc2026-10-14 - R20-11
rel:R20-11#f0b0073f2026-10-14 - R21-11
rel:R21-11#9ba16c842026-10-14 - R22-11
rel:R22-11#50aef0842026-10-14 - R23-11
rel:R23-11#27161e6e2026-10-14 - R24-11
rel:R24-11#27161e6e2026-10-14 - R25-11
rel:R25-11#27161e6e2026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
变量 syncIngressTimestamp [SWS_TS_14152] Upstream: RS_TS_00034 原文尚未导入
std::uint64_t syncIngressTimestamp;
ingress timestamp of Sync frame converted to Virtual Local Time
Status: valid/unmigrated
Version: rel:R25-11#9d3bb4cc
Versionshistorie & Revisions (1 transition, 8 revision)
- Current State
valid/unmigrated
- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill
- Active Version
AUTOSAR/AP/record/SWS_TS_14152@rel:R25-11#9d3bb4cc
Point-in-Time History:
Recorded Revisions (8):
- R25-11
rel:R25-11#065d46272026-09-30 - R19-11
rel:R19-11#193785b32026-10-14 - R20-11
rel:R20-11#af2c02ee2026-10-14 - R21-11
rel:R21-11#2f5930572026-10-14 - R22-11
rel:R22-11#9762a2132026-10-14 - R23-11
rel:R23-11#9d3bb4cc2026-10-14 - R24-11
rel:R24-11#9d3bb4cc2026-10-14 - R25-11
rel:R25-11#9d3bb4cc2026-10-14 active
Historical Snapshot:
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 德文原文