DEENESPTFRRUARHIKOZHNL

结构体 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"
Scopenamespace ara::tsync

用户指南人工智能生成

采集 Peer-Delay-Initiator 的详细时间戳和测量值,以验证网络中的传输延迟。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 1f814767d27f 来源 未决问题(2)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

采集 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-InitiatorNetzwerk / ResponderValidierungsspeicherPdelay_Req senden(sequenceId)requestOriginTimestamp erfassenPdelay_Resp empfangen(requestReceiptTimestamp)responseReceiptTimestamp erfassenPdelay_Resp_Follow_Up empfangen(responseOriginTimestamp)pDelay berechnenReferenztupel 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

详细视图

请在大纲中选择一个条目。

常量

pDelay 变量

currently valid pDelay value

value of the local instance of the Global Time of the reference Global Time Tuple

ara::tsync::Timestamp referenceGlobalTimestamp;

value of the Virtual Local Time of the reference Global Time Tuple

std::uint64_t referenceLocalTimestamp;

egress timestamp of Pdelay_Req in Virtual Local Time

std::uint64_t requestOriginTimestamp;

ingress timestamp of Pdelay_Req in Global Time taken from the received Pdelay_Resp

ara::tsync::Timestamp requestReceiptTimestamp;

egress timestamp of Pdelay_Resp in Global Time taken from the received Pdelay_Resp_ Follow_Up

ara::tsync::Timestamp responseOriginTimestamp;

ingress timestamp of Pdelay_Resp in Virtual Local Time

std::uint64_t responseReceiptTimestamp;
sequenceId 变量

sequence Id of sent Pdelay_Req frame

std::uint16_t sequenceId;

常量 / 变量文档

变量 pDelay [SWS_TS_14166] Upstream: RS_TS_00034 原文尚未导入

std::uint32_t pDelay;

currently valid pDelay value

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::PdelayInitiatorMeasurementType
SymbolpDelay
Typstd::uint32_t

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_TS_14166
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14166@rel:R25-11#8e222d6c
Content hash
8e222d6c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14166
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#2d3cefd82026-09-30
  • R19-11rel:R19-11#328a30ac2026-10-14
  • R20-11rel:R20-11#6bf92a522026-10-14
  • R21-11rel:R21-11#6bf92a522026-10-14
  • R22-11rel:R22-11#3cbc52562026-10-14
  • R23-11rel:R23-11#933a239e2026-10-14
  • R24-11rel:R24-11#8268ca162026-10-14
  • R25-11rel:R25-11#933a239e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-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

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::PdelayInitiatorMeasurementType
SymbolreferenceGlobalTimestamp
Typara::tsync::Timestamp

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_TS_14165
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14165@rel:R25-11#1272627d
Content hash
1272627d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14165
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#94011f0e2026-09-30
  • R19-11rel:R19-11#681135ec2026-10-14
  • R20-11rel:R20-11#b28830de2026-10-14
  • R21-11rel:R21-11#16e899c22026-10-14
  • R22-11rel:R22-11#9957537c2026-10-14
  • R23-11rel:R23-11#8d4a55002026-10-14
  • R24-11rel:R24-11#8d4a55002026-10-14
  • R25-11rel:R25-11#8d4a55002026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-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

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::PdelayInitiatorMeasurementType
SymbolreferenceLocalTimestamp
Typstd::uint64_t

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_TS_14164
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14164@rel:R25-11#82d208f1
Content hash
82d208f1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14164
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#0b0f2a3c2026-09-30
  • R19-11rel:R19-11#7847c4762026-10-14
  • R20-11rel:R20-11#8f5ce2112026-10-14
  • R21-11rel:R21-11#8f5ce2112026-10-14
  • R22-11rel:R22-11#e3d95e8c2026-10-14
  • R23-11rel:R23-11#f7f88d742026-10-14
  • R24-11rel:R24-11#f7f88d742026-10-14
  • R25-11rel:R25-11#f7f88d742026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-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

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::PdelayInitiatorMeasurementType
SymbolrequestOriginTimestamp
Typstd::uint64_t

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_TS_14160
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14160@rel:R25-11#9459b86d
Content hash
9459b86d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14160
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#d52046092026-09-30
  • R19-11rel:R19-11#f70df6862026-10-14
  • R20-11rel:R20-11#7d2f16c52026-10-14
  • R21-11rel:R21-11#7d2f16c52026-10-14
  • R22-11rel:R22-11#89314d1e2026-10-14
  • R23-11rel:R23-11#bc19252f2026-10-14
  • R24-11rel:R24-11#bc19252f2026-10-14
  • R25-11rel:R25-11#bc19252f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-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

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::PdelayInitiatorMeasurementType
SymbolrequestReceiptTimestamp
Typara::tsync::Timestamp

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_TS_14162
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14162@rel:R25-11#3aec1cbc
Content hash
3aec1cbc
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14162
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#43dc4e882026-09-30
  • R19-11rel:R19-11#dd102e242026-10-14
  • R20-11rel:R20-11#3c33cca32026-10-14
  • R21-11rel:R21-11#3c33cca32026-10-14
  • R22-11rel:R22-11#7bc24f132026-10-14
  • R23-11rel:R23-11#217ae7262026-10-14
  • R24-11rel:R24-11#217ae7262026-10-14
  • R25-11rel:R25-11#217ae7262026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-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

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::PdelayInitiatorMeasurementType
SymbolresponseOriginTimestamp
Typara::tsync::Timestamp

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_TS_14163
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14163@rel:R25-11#cac52eae
Content hash
cac52eae
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14163
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#a837b0502026-09-30
  • R19-11rel:R19-11#a6ed32ba2026-10-14
  • R20-11rel:R20-11#44de12772026-10-14
  • R21-11rel:R21-11#44de12772026-10-14
  • R22-11rel:R22-11#4c50dd592026-10-14
  • R23-11rel:R23-11#fae1b5132026-10-14
  • R24-11rel:R24-11#8432e3962026-10-14
  • R25-11rel:R25-11#8432e3962026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-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

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::PdelayInitiatorMeasurementType
SymbolresponseReceiptTimestamp
Typstd::uint64_t

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_TS_14161
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14161@rel:R25-11#ef4468b4
Content hash
ef4468b4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14161
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#fcbfd7192026-09-30
  • R19-11rel:R19-11#82e75a292026-10-14
  • R20-11rel:R20-11#1dbadd132026-10-14
  • R21-11rel:R21-11#cb2d32292026-10-14
  • R22-11rel:R22-11#45d5e33d2026-10-14
  • R23-11rel:R23-11#8f5c692f2026-10-14
  • R24-11rel:R24-11#8f5c692f2026-10-14
  • R25-11rel:R25-11#8f5c692f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

变量 sequenceId [SWS_TS_14167] Upstream: RS_TS_00034 原文尚未导入

std::uint16_t sequenceId;

sequence Id of sent Pdelay_Req frame

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::PdelayInitiatorMeasurementType
SymbolsequenceId
Typstd::uint16_t

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_TS_14167
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14167@rel:R25-11#0fbc1658
Content hash
0fbc1658
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14167
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:
Recorded Revisions (8):
  • R25-11rel:R25-11#50d9ba9a2026-09-30
  • R19-11rel:R19-11#1659166a2026-10-14
  • R20-11rel:R20-11#35332f582026-10-14
  • R21-11rel:R21-11#35332f582026-10-14
  • R22-11rel:R22-11#c97b99702026-10-14
  • R23-11rel:R23-11#5ec2dba42026-10-14
  • R24-11rel:R24-11#6ab6b4242026-10-14
  • R25-11rel:R25-11#6ab6b4242026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill