DEENESPTFRRUARHIKOZHNL

结构体 ara::tsync::PdelayResponderMeasurementType

[SWS_TS_00417] Upstream: RS_TS_00034 原文尚未导入

struct PdelayResponderMeasurementType final {...};

Structure with detailed timing data for the pDelay Responder .

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Forwarding-Header#include "ara/tsync/tsync_fwd.h"
Scopenamespace ara::tsync

用户指南人工智能生成

汇集 pDelay 响应器的用于时间验证的时间戳和参考时间数据。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 5eb2c3f093f6 来源 未决问题(2)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

汇集 pDelay 响应器的用于时间验证的时间戳和参考时间数据。

数据结构 ara::tsync::PdelayResponderMeasurementType 用于在时间同步框架内汇集 pDelay 响应器的详细时间测量数据。它以虚拟本地时间记录请求的接收时刻 requestReceiptTimestamp [SWS_TS_14170] 以及响应的发送时刻 responseOriginTimestamp [SWS_TS_14171] 连同对应的序列号。携带的由虚拟本地时间和全局时间组成的参考全局时间元组使下游系统能够将测量值精确转换为全局时间坐标。

上下文

数据结构 ara::tsync::PdelayResponderMeasurementType 在头文件 ara/tsync/time_validation_measurement_types.h 中定义,并汇集时间同步(tsync)功能集群内 pDelay 响应器的精确时间测量数据。在对等网络传输延迟测量过程中,响应器应答相邻网络节点的传输延迟请求。为了能够跟踪和验证连接级别上的时间传输延迟以及同步精度,该结构记录了一个测量周期的关键时间标记。通过字段 sequenceId [SWS_TS_14174] 确保与触发请求消息的唯一关联。解释:收集到的测量数据可能主要提供给分析和验证机制(Time Validation),以监控网络中的偏差和传输延迟。 问题 Q-8e58febf465a0259 (未决)

记录的时间标记包括请求消息的确切接收时刻 requestReceiptTimestamp [SWS_TS_14170] 以及相应响应的发送时刻 responseOriginTimestamp [SWS_TS_14171]。这两个值均表示为虚拟本地时间(Virtual Local Time)中的时间戳。为了统一步入平台级时间模型,该结构还包含一个参考时间元组:它由本地时间值 referenceLocalTimestamp [SWS_TS_14172] 和对应的全局时间值 referenceGlobalTimestamp [SWS_TS_14173] 组成。由此,处理实例可以将以本地虚拟时间测量的事件精确转换为全局时间尺度。

生命周期

作为最终结构声明(struct ... final),PdelayResponderMeasurementType 充当纯粹的值对象(Plain Old Data),不包含内部状态机或动态内存管理。实例的创建通常紧随 pDelay 事务完成之后。解释:一旦在发送消息 Pdelay_Resp 后获得所有硬件和接口时间戳,该结构的数据填充可能在响应器的协议栈中同步进行。 问题 Q-202e7724b43ceac9 (未决)

在所有权方面,该对象按值或通过不可变引用传递给下游诊断或时间验证例程。由于该结构不管理独占资源或指针,销毁过程很简单,并绑定到调用上下文的作用域。关于并发性,完全初始化的实例对于并行读取访问是线程安全的;如果跨线程重用该实例,写入修改则需要外部同步。

使用路径

记录和提供响应器测量数据的典型流程分为以下步骤:

  1. 接收请求:当 Pdelay_Req 帧到达时,响应器将接收时刻记录为虚拟本地时间下的 requestReceiptTimestamp [SWS_TS_14170],并注册关联的序列号 sequenceId [SWS_TS_14174]。
  2. 发送响应:响应器发送响应消息 Pdelay_Resp。离开接口时,发送时刻同样作为虚拟本地时间下的 responseOriginTimestamp 被记录 [SWS_TS_14171]。
  3. 确定参考元组:为了将测量值转换为全局时间,从全局时间本地实例的当前状态中确定 referenceLocalTimestamp [SWS_TS_14172] 和 referenceGlobalTimestamp [SWS_TS_14173]。
  4. 传递测量数据:将完全填充的 PdelayResponderMeasurementType 实例传递给验证系统,该系统检查时间差和同步精度。
pDelay 响应端的测量流程与数据采集pDelay-InitiatorpDelay-ResponderMessdatenerfassungPdelay_Req (sequenceId)requestReceiptTimestamp erfassensequenceId registrierenPdelay_RespresponseOriginTimestamp erfassenReferenz-Tupel ermitteln(referenceLocalTimestamp,referenceGlobalTimestamp)传递 PdelayResponderMeasurementType

时序图:pDelay 响应器上的时间戳记录和测量数据提供流程。来源:[SWS_TS_14170]、[SWS_TS_14171]、[SWS_TS_14172]、[SWS_TS_14173]、[SWS_TS_14174]。

本类指南基于针对 tsync 模块的 AUTOSAR Adaptive R25-11 规范,描述测量数据采集的结构。

成员图

类图

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__tsync__PdelayResponderMeasurementType5 «struct» PdelayResponderMeasurementType + referenceGlobalTimestamp + referenceLocalTimestamp + requestReceiptTimestamp + responseOriginTimestamp + sequenceId

详细视图

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

常量

value of the local instance of the Global Time of the reference Global Time Tuple used to convert requestReceiptTimestamp and responseOriginTimestamp into Global Time

ara::tsync::Timestamp referenceGlobalTimestamp;

value of the Virtual Local Time of the reference Global Time Tuple used to convert request ReceiptTimestamp and responseOriginTimestamp into Global Time

std::uint64_t referenceLocalTimestamp;

ingress timestamp of Pdelay_Req converted to Virtual Local Time

std::uint64_t requestReceiptTimestamp;

egress timestamp of Pdelay_Resp converted to Virtual Local Time

std::uint64_t responseOriginTimestamp;
sequenceId 变量

sequence Id of received Pdelay_Req frame

std::uint16_t sequenceId;

常量 / 变量文档

变量 referenceGlobalTimestamp [SWS_TS_14173] Upstream: RS_TS_00034 原文尚未导入

ara::tsync::Timestamp referenceGlobalTimestamp;

value of the local instance of the Global Time of the reference Global Time Tuple used to convert requestReceiptTimestamp and responseOriginTimestamp into Global Time

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

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

Record
AUTOSAR/AP/record/SWS_TS_14173
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14173@rel:R25-11#29ef99bf
Content hash
29ef99bf
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14173
Status: valid/unmigrated Version: rel:R25-11#266b2811 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_14173@rel:R25-11#266b2811
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#00b943e52026-09-30
  • R19-11rel:R19-11#f83282162026-10-14
  • R20-11rel:R20-11#a01a02a12026-10-14
  • R21-11rel:R21-11#620277252026-10-14
  • R22-11rel:R22-11#a661ed2f2026-10-14
  • R23-11rel:R23-11#266b28112026-10-14
  • R24-11rel:R24-11#266b28112026-10-14
  • R25-11rel:R25-11#266b28112026-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_14172] Upstream: RS_TS_00034 原文尚未导入

std::uint64_t referenceLocalTimestamp;

value of the Virtual Local Time of the reference Global Time Tuple used to convert request ReceiptTimestamp and responseOriginTimestamp into Global Time

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

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

Record
AUTOSAR/AP/record/SWS_TS_14172
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14172@rel:R25-11#50d4074e
Content hash
50d4074e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14172
Status: valid/unmigrated Version: rel:R25-11#7af85590 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_14172@rel:R25-11#7af85590
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#64a33ae82026-09-30
  • R19-11rel:R19-11#61fab16a2026-10-14
  • R20-11rel:R20-11#eb5de9de2026-10-14
  • R21-11rel:R21-11#eb5de9de2026-10-14
  • R22-11rel:R22-11#f73e98162026-10-14
  • R23-11rel:R23-11#7af855902026-10-14
  • R24-11rel:R24-11#7af855902026-10-14
  • R25-11rel:R25-11#7af855902026-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_14170] Upstream: RS_TS_00034 原文尚未导入

std::uint64_t requestReceiptTimestamp;

ingress timestamp of Pdelay_Req converted to Virtual Local Time

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

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

Record
AUTOSAR/AP/record/SWS_TS_14170
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14170@rel:R25-11#a7778c3e
Content hash
a7778c3e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14170
Status: valid/unmigrated Version: rel:R25-11#fcff2282 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_14170@rel:R25-11#fcff2282
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ba3495722026-09-30
  • R19-11rel:R19-11#c979eea62026-10-14
  • R20-11rel:R20-11#728a09f82026-10-14
  • R21-11rel:R21-11#728a09f82026-10-14
  • R22-11rel:R22-11#a66b3a702026-10-14
  • R23-11rel:R23-11#fcff22822026-10-14
  • R24-11rel:R24-11#fcff22822026-10-14
  • R25-11rel:R25-11#fcff22822026-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_14171] Upstream: RS_TS_00034 原文尚未导入

std::uint64_t responseOriginTimestamp;

egress timestamp of Pdelay_Resp converted to Virtual Local Time

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

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

Record
AUTOSAR/AP/record/SWS_TS_14171
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14171@rel:R25-11#bbf21124
Content hash
bbf21124
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14171
Status: valid/unmigrated Version: rel:R25-11#8d62a751 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_14171@rel:R25-11#8d62a751
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5a72a5052026-09-30
  • R19-11rel:R19-11#39abbef62026-10-14
  • R20-11rel:R20-11#7889897b2026-10-14
  • R21-11rel:R21-11#7889897b2026-10-14
  • R22-11rel:R22-11#75c224bc2026-10-14
  • R23-11rel:R23-11#8d62a7512026-10-14
  • R24-11rel:R24-11#8d62a7512026-10-14
  • R25-11rel:R25-11#8d62a7512026-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_14174] Upstream: RS_TS_00034 原文尚未导入

std::uint16_t sequenceId;

sequence Id of received Pdelay_Req frame

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

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

Record
AUTOSAR/AP/record/SWS_TS_14174
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14174@rel:R25-11#c88bafe8
Content hash
c88bafe8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14174
Status: valid/unmigrated Version: rel:R25-11#b7e1d6f6 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_14174@rel:R25-11#b7e1d6f6
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1660d6782026-09-30
  • R19-11rel:R19-11#1182a87c2026-10-14
  • R20-11rel:R20-11#b8d2e7722026-10-14
  • R21-11rel:R21-11#b8d2e7722026-10-14
  • R22-11rel:R22-11#a0c122e42026-10-14
  • R23-11rel:R23-11#b7e1d6f62026-10-14
  • R24-11rel:R24-11#b7e1d6f62026-10-14
  • R25-11rel:R25-11#b7e1d6f62026-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