functie now [SWS_CORE_06432] Upstream: RS_AP_00130
static time_point now () noexcept;
Return a time_point representing the current value of the clock.
De statische functie ara::core::SteadyClock::now() retourneert synchroon een time_point, die de actuele tellerstand van de klok voorstelt [SWS_CORE_06432]. Voor gebruik dient het headerbestand ara/core/steady_clock.h te worden ingesloten [SWS_CORE_06432]. Aangezien de methode statisch is gebonden aan ara::core::SteadyClock, is instantiëring van de klasse niet nodig; toegang vindt direct via de scope plaats.
Met betrekking tot foutafhandeling is de functie gedeclareerd met noexcept en aangemerkt als uitzonderingsveilig (exception safe) [SWS_CORE_06432]. Aanroepers hoeven derhalve geen exception-afhandeling voor de tijdopvraag te voorzien, aangezien de bewerking gegarandeerd foutloos terugkeert.
Wat betreft gelijktijdigheid en beperkingen is now() gespecificeerd als thread-safe (thread-safe) [SWS_CORE_06432]. De functie mag zonder synchronisatie aan de toepassingszijde parallel vanuit willekeurige uitvoeringscontexten en threads worden aangeroepen.
Binnen de interfaces van ara::core::SteadyClock dient de functie er vermoedelijk primair voor tijdstippen voor relatieve intervalmetingen en looptijdbepalingen beschikbaar te stellen (interpretatie: afgeleid uit de scope en het retourtype [SWS_CORE_06432]). Vraag Q-34b2317714fd4e03 (open)
Deze gebruiksinstructie is geautomatiseerd aangemaakt en is gebaseerd op de specificatie van AUTOSAR Adaptive R25-11.
| Header-Datei | #include "ara/core/steady_clock.h" |
|---|---|
| Scope | class ara::core::SteadyClock |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| time_point | a time_point |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CORE_06432- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CORE_06432@rel:R25-11#9aabff12- Content hash
9aabff12- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Core.pdf#nameddest=SWS_CORE_06432
Status: valid/unmigrated
Version: rel:R25-11#5c6a8c47
Versionshistorie & Revisions (1 transition, 7 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_CORE_06432@rel:R25-11#5c6a8c47
Recorded Revisions (7):
- R25-11
rel:R25-11#bd3e18002026-09-30 - R20-11
rel:R20-11#2ebaac9e2026-10-14 - R21-11
rel:R21-11#2ebaac9e2026-10-14 - R22-11
rel:R22-11#23f195162026-10-14 - R23-11
rel:R23-11#1e8f88b82026-10-14 - R24-11
rel:R24-11#5c6a8c472026-10-14 - R25-11
rel:R25-11#5c6a8c472026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
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 · Duits origineel