DEENESPTFRRUARHIKOZHNL

struct ara::tsync::TimeSlaveMeasurementType

[SWS_TS_00415] Upstream: RS_TS_00034 wording not yet imported

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

User GuideAI-GENERATED

Provides measurement time and protocol data of a synchronization cycle for validating the Time Slave.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 8110e02020a5 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Provides measurement time and protocol data of a synchronization cycle for validating the Time Slave.

The structure is used to capture and provide detailed measurement and protocol data for the continuous validation of the synchronization behavior of a Time Slave [SWS_TS_14156]. For this purpose, it bundles external timestamps and correction values of received synchronization messages with the currently valid path delay value and local reference timestamps [SWS_TS_14155]. As a passive data object, the type has no control logic of its own and is likely instantiated per synchronization cycle and passed to higher-level analysis components for plausibility checks. Question (open)

Context

The structure ara::tsync::TimeSlaveMeasurementType is used within the Time Synchronization Functional Cluster (tsync) to provide detailed measurement data for validating a Time Slave. In the context of time-synchronized communication in distributed AUTOSAR systems, safeguarding timing accuracy requires reliable verification of the synchronization steps. The structure functions here as a standardized data container aggregating protocol-relevant measurement values of a synchronization cycle.

Essentially three components participate in the interaction: an external Time Master, the receiving Time Slave, and a downstream validation or diagnostic entity. The Time Slave receives synchronization messages from the master and extracts protocol-specific parameters from them, such as the sequence number sequenceId [SWS_TS_14156] of the sync frame as well as the correction value correctionField [SWS_TS_14153] and the transmission timestamp preciseOriginTimestamp [SWS_TS_14150] from the associated follow-up frame. Augmented with local timestamps and the current path delay value pDelay [SWS_TS_14155], the Time Slave provides this data to the validation entity to assess synchronization quality.

Lifecycle

As a pure data container (struct ... final), ara::tsync::TimeSlaveMeasurementType possesses no state machine of its own and no active lifecycle phases. Instances are likely instantiated as ephemeral value objects on the stack or in internal buffers as soon as a matching pair of sync and follow-up frames has been processed by the Time Slave. Question Q-d6401d9eff1764d3 (open) During this initialization phase, all attributes—including the reference timestamps for the global part referenceGlobalTimestamp [SWS_TS_14151] and the virtual local part referenceLocalTimestamp [SWS_TS_14154] as well as the ingress timestamp syncIngressTimestamp [SWS_TS_14152]—are consistently populated.

After population, the object is passed to the evaluating validation logic. Since the structure does not contain any synchronization mechanisms for concurrent access, applications must ensure external synchronization or pass-by-copy when transferring across threads. Once the check of the synchronization parameters is complete, the object's lifetime ends through regular deallocation of memory.

Usage Path

The regular sequence for capturing and providing the measurement data follows the sequence of the synchronization protocol:

  1. Reception of the sync frame: Upon arrival of the synchronization frame, the Time Slave captures the arrival time in virtual local time as syncIngressTimestamp [SWS_TS_14152] and adopts the sequenceId [SWS_TS_14156].
  2. Reception of the follow-up frame: The transmission timestamp preciseOriginTimestamp [SWS_TS_14150] and the correction field correctionField [SWS_TS_14153] are read from the subsequent message.
  3. Consolidation of local parameters: The Time Slave adds the currently determined propagation delay value pDelay [SWS_TS_14155] and the time tuple consisting of referenceGlobalTimestamp [SWS_TS_14151] and referenceLocalTimestamp [SWS_TS_14154] to the structure.
  4. Handover for validation: The consolidated structure is transmitted to the validation entity, which checks the data for discrepancies.
Acquisition and provision of measurement data for time slave validationTime MasterTime SlaveValidierungsinstanzSync-Frame sendensyncIngressTimestamp andsequenceId erfassenFollow_Up-Frame sendenpreciseOriginTimestamp andcorrectionField auslesenpDelay and SyncLocal tuplemerge into structurepass TimeSlaveMeasurementType

Sequence diagram: Sequence of measurement data acquisition at the Time Slave for validation. Sources: [SWS_TS_14150], [SWS_TS_14152], [SWS_TS_14153], [SWS_TS_14156].

Error Scenarios

Since ara::tsync::TimeSlaveMeasurementType represents a passive data structure without methods, it does not throw exceptions itself and does not report error codes. Error conditions manifest indirectly via the plausibility of the contained values:

  • Lost frames or misordering: A gap or jump in the sequenceId [SWS_TS_14156] indicates dropped frames or runtime issues on the transmission medium.
  • Stale or invalid path delay: An implausible or missing value in pDelay [SWS_TS_14155] leads to calculation errors during propagation delay compensation.
  • Discrepancies in timestamps: Inconsistencies between syncIngressTimestamp [SWS_TS_14152] and the local tuple consisting of referenceGlobalTimestamp [SWS_TS_14151] and referenceLocalTimestamp [SWS_TS_14154] indicate synchronization errors or drift of the local clock.

Evaluating entities must therefore check the data structure for completeness and plausibility before processing it further.

This guide is based on the AUTOSAR specifications for Adaptive Platform R25-11 and was generated automatically.

Member map

Class diagram

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

G nara__tsync__TimeSlaveMeasurementType161 «struct» TimeSlaveMeasurementType + correctionField + pDelay + preciseOriginTimestamp + referenceGlobalTimestamp + referenceLocalTimestamp + sequenceId + syncIngressTimestamp

Detail view

Select an entry in the outline.

Constants

correctionField taken from the received Follow_Up frame

std::int64_t correctionField;
pDelay variable

currently valid pDelay value

preciseOriginTimestamp taken from the received Follow_Up frame

ara::tsync::Timestamp preciseOriginTimestamp;

SyncLocal Time Tuple (Global Time part) .

ara::tsync::Timestamp referenceGlobalTimestamp;

SyncLocal Time Tuple (Virtual Local Time part) .

std::uint64_t referenceLocalTimestamp;
sequenceId variable

sequence Id of received Sync frame

std::uint16_t sequenceId;

ingress timestamp of Sync frame converted to Virtual Local Time

std::uint64_t syncIngressTimestamp;

Documentation of constants / variables

variable correctionField [SWS_TS_14153] Upstream: RS_TS_00034 wording not yet imported

std::int64_t correctionField;

correctionField taken from the received Follow_Up frame

Header-Datei#include "ara/tsync/time_validation_measurement_types.h"
Scopestruct ara::tsync::TimeSlaveMeasurementType
SymbolcorrectionField
Typstd::int64_t

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

Record
AUTOSAR/AP/record/SWS_TS_14153
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14153@rel:R25-11#2bb5ffc7
Content hash
2bb5ffc7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14153
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-11rel:R25-11#2bb5ffc72026-09-30
  • R19-11rel:R19-11#30c23b422026-10-14
  • R20-11rel:R20-11#8189d0922026-10-14
  • R21-11rel:R21-11#8189d0922026-10-14
  • R22-11rel:R22-11#baeff18f2026-10-14
  • R23-11rel:R23-11#169330532026-10-14
  • R24-11rel:R24-11#169330532026-10-14
  • R25-11rel:R25-11#169330532026-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

variable pDelay [SWS_TS_14155] Upstream: RS_TS_00034 wording not yet imported

std::uint32_t pDelay;

currently valid pDelay value

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

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

Record
AUTOSAR/AP/record/SWS_TS_14155
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14155@rel:R25-11#83272600
Content hash
83272600
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14155
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-11rel:R25-11#832726002026-09-30
  • R19-11rel:R19-11#f4a585242026-10-14
  • R20-11rel:R20-11#7df9cc762026-10-14
  • R21-11rel:R21-11#e1a7beb32026-10-14
  • R22-11rel:R22-11#20f8a9202026-10-14
  • R23-11rel:R23-11#34f610ab2026-10-14
  • R24-11rel:R24-11#34f610ab2026-10-14
  • R25-11rel:R25-11#34f610ab2026-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

variable preciseOriginTimestamp [SWS_TS_14150] Upstream: RS_TS_00034 wording not yet imported

ara::tsync::Timestamp preciseOriginTimestamp;

preciseOriginTimestamp taken from the received Follow_Up frame

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

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

Record
AUTOSAR/AP/record/SWS_TS_14150
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14150@rel:R25-11#baa13192
Content hash
baa13192
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14150
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-11rel:R25-11#baa131922026-09-30
  • R19-11rel:R19-11#c9dd405f2026-10-14
  • R20-11rel:R20-11#d84f69a62026-10-14
  • R21-11rel:R21-11#d84f69a62026-10-14
  • R22-11rel:R22-11#e0032b2b2026-10-14
  • R23-11rel:R23-11#99ab17c72026-10-14
  • R24-11rel:R24-11#99ab17c72026-10-14
  • R25-11rel:R25-11#99ab17c72026-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

variable referenceGlobalTimestamp [SWS_TS_14151] Upstream: RS_TS_00034 wording not yet imported

ara::tsync::Timestamp referenceGlobalTimestamp;

SyncLocal Time Tuple (Global Time part) .

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

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

Record
AUTOSAR/AP/record/SWS_TS_14151
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14151@rel:R25-11#5664d069
Content hash
5664d069
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14151
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-11rel:R25-11#5664d0692026-09-30
  • R19-11rel:R19-11#b00927ac2026-10-14
  • R20-11rel:R20-11#696b6c522026-10-14
  • R21-11rel:R21-11#0a28fd072026-10-14
  • R22-11rel:R22-11#a11a71142026-10-14
  • R23-11rel:R23-11#c53a92092026-10-14
  • R24-11rel:R24-11#c53a92092026-10-14
  • R25-11rel:R25-11#c53a92092026-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

variable referenceLocalTimestamp [SWS_TS_14154] Upstream: RS_TS_00034 wording not yet imported

std::uint64_t referenceLocalTimestamp;

SyncLocal Time Tuple (Virtual Local Time part) .

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

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

Record
AUTOSAR/AP/record/SWS_TS_14154
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14154@rel:R25-11#0b0854ad
Content hash
0b0854ad
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14154
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-11rel:R25-11#0b0854ad2026-09-30
  • R19-11rel:R19-11#b6c4a6472026-10-14
  • R20-11rel:R20-11#b93801742026-10-14
  • R21-11rel:R21-11#b93801742026-10-14
  • R22-11rel:R22-11#d180e00f2026-10-14
  • R23-11rel:R23-11#da430f0c2026-10-14
  • R24-11rel:R24-11#da430f0c2026-10-14
  • R25-11rel:R25-11#da430f0c2026-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

variable sequenceId [SWS_TS_14156] Upstream: RS_TS_00034 wording not yet imported

std::uint16_t sequenceId;

sequence Id of received Sync frame

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

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

Record
AUTOSAR/AP/record/SWS_TS_14156
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14156@rel:R25-11#8321eb9d
Content hash
8321eb9d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14156
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-11rel:R25-11#8321eb9d2026-09-30
  • R19-11rel:R19-11#6ad719fc2026-10-14
  • R20-11rel:R20-11#f0b0073f2026-10-14
  • R21-11rel:R21-11#9ba16c842026-10-14
  • R22-11rel:R22-11#50aef0842026-10-14
  • R23-11rel:R23-11#27161e6e2026-10-14
  • R24-11rel:R24-11#27161e6e2026-10-14
  • R25-11rel:R25-11#27161e6e2026-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

variable syncIngressTimestamp [SWS_TS_14152] Upstream: RS_TS_00034 wording not yet imported

std::uint64_t syncIngressTimestamp;

ingress timestamp of Sync frame converted to Virtual Local Time

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

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

Record
AUTOSAR/AP/record/SWS_TS_14152
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_TS_14152@rel:R25-11#065d4627
Content hash
065d4627
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14152
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-11rel:R25-11#065d46272026-09-30
  • R19-11rel:R19-11#193785b32026-10-14
  • R20-11rel:R20-11#af2c02ee2026-10-14
  • R21-11rel:R21-11#2f5930572026-10-14
  • R22-11rel:R22-11#9762a2132026-10-14
  • R23-11rel:R23-11#9d3bb4cc2026-10-14
  • R24-11rel:R24-11#9d3bb4cc2026-10-14
  • R25-11rel:R25-11#9d3bb4cc2026-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