结构体 ara::tsync::PdelayInitiatorMeasurementType
[SWS_TS_00416] Upstream: RS_TS_00034 原文尚未导入
struct PdelayInitiatorMeasurementType final {...};
Structure with detailed timing data for the pDelay Initiator .
Header-Datei #include "ara/tsync/time_validation_measurement_types.h" Forwarding-Header #include "ara/tsync/tsync_fwd.h" Scope namespace ara::tsync
用户指南人工智能生成 采集 Peer-Delay-Initiator 的详细时间戳和测量值,以验证网络中的传输延迟。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 1f814767d27f
来源
未决问题(2)
摘要 详细
采集 Peer-Delay-Initiator 的详细时间戳和测量值,以验证网络中的传输延迟。
结构 ara::tsync::PdelayInitiatorMeasurementType 存储详细的时间戳和测量值,这些值由 Peer-Delay-Initiator 在消息交换期间记录以用于时间验证。它将本地发送和接收时间戳与 Responder 传输的值合并在一起,并记录计算得出的传输延迟 pDelay [SWS_TS_14166] 。为了明确关联,同时携带序列号 sequenceId [SWS_TS_14167] ,而由本地时间和全局时间构成的参考元组则确保了相关性。作为一个被动数据容器,该结构在并发访问时需要外部同步。
更多 ›
上下文
数据结构 ara::tsync::PdelayInitiatorMeasurementType 是 AUTOSAR Adaptive Platform 中模块 tsync 的组成部分,并通过头文件 ara/tsync/time_validation_measurement_types.h 提供。其主要职责是封装在传输延迟确定和时间验证期间在 Peer-Delay-Initiator (pDelay Initiator) 端产生的详细时间戳和测量值。作为协议执行的一部分,Initiator 通过网络与通信伙伴 (Responder) 进行交互,后者接收并应答 Peer-Delay 请求。记录的数据使得能够精确追踪网络节点之间的信号传输延迟并分析时间基准的偏差。通常,该结构的实例在测量周期完成后传递给上层监视和验证实例,从而使该结构充当网络协议与诊断评估之间的接口数据集。
生命周期
该结构声明为 struct PdelayInitiatorMeasurementType final,并用作纯数据容器,没有多态属性或动态内存管理。实例通常在测量过程开始时或测量期间在栈上或在同步子系统的内存区域中创建。在消息交换期间,各个属性逐步填充时间戳和协议数据。完成计算后,合并后的对象通过值或引用传递给消费函数。由于不分配资源,因此其生命周期随离开封闭作用域而自动结束。在并发使用时需要注意,对同一实例的同时写入访问不是线程安全的;值的记录和合并在释放以供读取进一步处理之前,在 Initiator 的执行上下文中按顺序进行。
使用路径
典型使用路径包括在完整的 Peer-Delay 测量周期过程中按阶段记录协议时间戳和标识符:
在发送请求消息 Pdelay_Req 时,Initiator 将消息的标识注册在字段 sequenceId [SWS_TS_14167] 中,并将 Virtual Local Time 的本地发送时间点保存为 requestOriginTimestamp [SWS_TS_14160] 。
如果 Initiator 接收到应答 Pdelay_Resp,它会将 Virtual Local Time 的到达时间点记录在字段 responseReceiptTimestamp [SWS_TS_14161] 中,并从应答数据包中提取 Responder 记录的 Global Time 的请求接收时间点,以将其保存到 requestReceiptTimestamp [SWS_TS_14162] 中。
随着后续消息 Pdelay_Resp_Follow_Up 的到达,提取 Global Time 的应答发送时间点并存储在 responseOriginTimestamp [SWS_TS_14163] 中。
在所有时间值就绪后,Initiator 计算当前延迟 pDelay [SWS_TS_14166] 。为了在本地与全局时间基准之间建立相关性,由 referenceLocalTimestamp [SWS_TS_14164] (以 Virtual Local Time 计)和 referenceGlobalTimestamp [SWS_TS_14165] (以 Global Time 计)组成的参考元组存储在测量数据集中。
以下时序图展示了消息交换的流程以及测量数据结构的逐步填充:
Pdelay 发起端测量流程与时间戳采集 Pdelay-Initiator Netzwerk / Responder Validierungsspeicher Pdelay_Req senden (sequenceId) requestOriginTimestamp erfassen Pdelay_Resp empfangen (requestReceiptTimestamp) responseReceiptTimestamp erfassen Pdelay_Resp_Follow_Up empfangen (responseOriginTimestamp) pDelay berechnen Referenztupel zuordnen 传递 PdelayInitiatorMeasurementType
时序图:Pdelay-Initiator 的时间戳采集和测量值合并流程。来源:[SWS_TS_14160] 、[SWS_TS_14161] 、[SWS_TS_14162] 、[SWS_TS_14163] 、[SWS_TS_14164] 、[SWS_TS_14165] 、[SWS_TS_14166] 、[SWS_TS_14167] 。
在所有字段完全初始化后,该数据集可用于评估、合理性检查或记录,以证明网络同步的完整性。
本指南基于 AUTOSAR Adaptive R25-11 规范(tsync 模块),并描述了结构 PdelayInitiatorMeasurementType。
分组依据 类别 历史
成员图 类图 Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
G
nara__tsync__PdelayInitiatorMeasurementType279
«struct»
PdelayInitiatorMeasurementType
+ pDelay
+ referenceGlobalTimestamp
+ referenceLocalTimestamp
+ requestOriginTimestamp
+ requestReceiptTimestamp
+ responseOriginTimestamp
+ responseReceiptTimestamp
+ sequenceId
详细视图 此版本没有元素数据
常量 currently valid pDelay value
value of the local instance of the Global Time of the reference Global Time Tuple
value of the Virtual Local Time of the reference Global Time Tuple
egress timestamp of Pdelay_Req in Virtual Local Time
ingress timestamp of Pdelay_Req in Global Time taken from the received Pdelay_Resp
egress timestamp of Pdelay_Resp in Global Time taken from the received Pdelay_Resp_ Follow_Up
ingress timestamp of Pdelay_Resp in Virtual Local Time
sequence Id of sent Pdelay_Req frame
点击条目以查看其关系。
基类 派生类 使用 被使用于 继承 自此版本起移除 用于 此类中无关联 函数 AI 评注 打开类页面 无法加载类页面。 调整顺序 调整宽度 调整大纲宽度 章节 阅读时间 SWS 引用 图表 放回中间 调整顺序或拖到标题栏 取消停靠 – 在内容中显示 移到中间栏 作为标签停靠到标题栏 元素 AI 模型 打开审计档案 档案 打开简短版本 打开中等版本 打开完整版本 恢复默认视图 已恢复默认视图 撤销 关闭详细视图 签名 基本信息 值 截至所选版本的最后一次更改 之后的下一次更改 单击:选择版本 无法放在此处:拖到标题栏可停靠,拖到中间栏可取消停靠。 新增 已更改 未更改 已移除 未包含 更改 内容无变化 首次出现于 移除于 没有可用的版本数据。 正在加载版本数据 … 文本 此版本未收录措辞 悬停或单击单元格:与所选版本比较 · 单击版本标题:选择版本 选择版本 属性 版本 元素 只有一个版本有措辞 PDF 中存在,原文尚未导入 首次采集原文 自 {rel} 起未更改 版本颜色 最早版本 最新版本
常量 / 变量文档
变量 pDelay [SWS_TS_14166] Upstream: RS_TS_00034 原文尚未导入
std::uint32_t pDelay;
currently valid pDelay value
Status: valid/unmigrated
Version: rel:R25-11#933a239e
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_14166@rel:R25-11#933a239e
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#2d3cefd82026-09-30 Inspect R19-11 rel:R19-11#328a30ac2026-10-14 Inspect R20-11 rel:R20-11#6bf92a522026-10-14 Inspect R21-11 rel:R21-11#6bf92a522026-10-14 Inspect R22-11 rel:R22-11#3cbc52562026-10-14 Inspect R23-11 rel:R23-11#933a239e2026-10-14 Inspect R24-11 rel:R24-11#8268ca162026-10-14 Inspect R25-11 rel:R25-11#933a239e2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
变量 referenceGlobalTimestamp [SWS_TS_14165] Upstream: RS_TS_00034 原文尚未导入
ara::tsync::Timestamp referenceGlobalTimestamp;
value of the local instance of the Global Time of the reference Global Time Tuple
Status: valid/unmigrated
Version: rel:R25-11#8d4a5500
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_14165@rel:R25-11#8d4a5500
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#94011f0e2026-09-30 Inspect R19-11 rel:R19-11#681135ec2026-10-14 Inspect R20-11 rel:R20-11#b28830de2026-10-14 Inspect R21-11 rel:R21-11#16e899c22026-10-14 Inspect R22-11 rel:R22-11#9957537c2026-10-14 Inspect R23-11 rel:R23-11#8d4a55002026-10-14 Inspect R24-11 rel:R24-11#8d4a55002026-10-14 Inspect R25-11 rel:R25-11#8d4a55002026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
变量 referenceLocalTimestamp [SWS_TS_14164] Upstream: RS_TS_00034 原文尚未导入
std::uint64_t referenceLocalTimestamp;
value of the Virtual Local Time of the reference Global Time Tuple
Status: valid/unmigrated
Version: rel:R25-11#f7f88d74
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_14164@rel:R25-11#f7f88d74
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#0b0f2a3c2026-09-30 Inspect R19-11 rel:R19-11#7847c4762026-10-14 Inspect R20-11 rel:R20-11#8f5ce2112026-10-14 Inspect R21-11 rel:R21-11#8f5ce2112026-10-14 Inspect R22-11 rel:R22-11#e3d95e8c2026-10-14 Inspect R23-11 rel:R23-11#f7f88d742026-10-14 Inspect R24-11 rel:R24-11#f7f88d742026-10-14 Inspect R25-11 rel:R25-11#f7f88d742026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
变量 requestOriginTimestamp [SWS_TS_14160] Upstream: RS_TS_00034 原文尚未导入
std::uint64_t requestOriginTimestamp;
egress timestamp of Pdelay_Req in Virtual Local Time
Status: valid/unmigrated
Version: rel:R25-11#bc19252f
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_14160@rel:R25-11#bc19252f
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#d52046092026-09-30 Inspect R19-11 rel:R19-11#f70df6862026-10-14 Inspect R20-11 rel:R20-11#7d2f16c52026-10-14 Inspect R21-11 rel:R21-11#7d2f16c52026-10-14 Inspect R22-11 rel:R22-11#89314d1e2026-10-14 Inspect R23-11 rel:R23-11#bc19252f2026-10-14 Inspect R24-11 rel:R24-11#bc19252f2026-10-14 Inspect R25-11 rel:R25-11#bc19252f2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
变量 requestReceiptTimestamp [SWS_TS_14162] Upstream: RS_TS_00034 原文尚未导入
ara::tsync::Timestamp requestReceiptTimestamp;
ingress timestamp of Pdelay_Req in Global Time taken from the received Pdelay_Resp
Status: valid/unmigrated
Version: rel:R25-11#217ae726
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_14162@rel:R25-11#217ae726
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#43dc4e882026-09-30 Inspect R19-11 rel:R19-11#dd102e242026-10-14 Inspect R20-11 rel:R20-11#3c33cca32026-10-14 Inspect R21-11 rel:R21-11#3c33cca32026-10-14 Inspect R22-11 rel:R22-11#7bc24f132026-10-14 Inspect R23-11 rel:R23-11#217ae7262026-10-14 Inspect R24-11 rel:R24-11#217ae7262026-10-14 Inspect R25-11 rel:R25-11#217ae7262026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
变量 responseOriginTimestamp [SWS_TS_14163] Upstream: RS_TS_00034 原文尚未导入
ara::tsync::Timestamp responseOriginTimestamp;
egress timestamp of Pdelay_Resp in Global Time taken from the received Pdelay_Resp_ Follow_Up
Status: valid/unmigrated
Version: rel:R25-11#8432e396
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_14163@rel:R25-11#8432e396
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#a837b0502026-09-30 Inspect R19-11 rel:R19-11#a6ed32ba2026-10-14 Inspect R20-11 rel:R20-11#44de12772026-10-14 Inspect R21-11 rel:R21-11#44de12772026-10-14 Inspect R22-11 rel:R22-11#4c50dd592026-10-14 Inspect R23-11 rel:R23-11#fae1b5132026-10-14 Inspect R24-11 rel:R24-11#8432e3962026-10-14 Inspect R25-11 rel:R25-11#8432e3962026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
变量 responseReceiptTimestamp [SWS_TS_14161] Upstream: RS_TS_00034 原文尚未导入
std::uint64_t responseReceiptTimestamp;
ingress timestamp of Pdelay_Resp in Virtual Local Time
Status: valid/unmigrated
Version: rel:R25-11#8f5c692f
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_14161@rel:R25-11#8f5c692f
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#fcbfd7192026-09-30 Inspect R19-11 rel:R19-11#82e75a292026-10-14 Inspect R20-11 rel:R20-11#1dbadd132026-10-14 Inspect R21-11 rel:R21-11#cb2d32292026-10-14 Inspect R22-11 rel:R22-11#45d5e33d2026-10-14 Inspect R23-11 rel:R23-11#8f5c692f2026-10-14 Inspect R24-11 rel:R24-11#8f5c692f2026-10-14 Inspect R25-11 rel:R25-11#8f5c692f2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
变量 sequenceId [SWS_TS_14167] Upstream: RS_TS_00034 原文尚未导入
std::uint16_t sequenceId;
sequence Id of sent Pdelay_Req frame
Status: valid/unmigrated
Version: rel:R25-11#6ab6b424
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_14167@rel:R25-11#6ab6b424
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#50d9ba9a2026-09-30 Inspect R19-11 rel:R19-11#1659166a2026-10-14 Inspect R20-11 rel:R20-11#35332f582026-10-14 Inspect R21-11 rel:R21-11#35332f582026-10-14 Inspect R22-11 rel:R22-11#c97b99702026-10-14 Inspect R23-11 rel:R23-11#5ec2dba42026-10-14 Inspect R24-11 rel:R24-11#6ab6b4242026-10-14 Inspect R25-11 rel:R25-11#6ab6b4242026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
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/unmigratedmechanically 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 · 德文原文