function now [SWS_CORE_06432] Upstream: RS_AP_00130
static time_point now () noexcept;
Return a time_point representing the current value of the clock.
The static function ara::core::SteadyClock::now() synchronously returns a time_point representing the current tick count of the clock [SWS_CORE_06432]. For usage, the header file ara/core/steady_clock.h must be included [SWS_CORE_06432]. Since the method is statically bound to ara::core::SteadyClock, no instantiation of the class is required; access occurs directly via the scope.
Regarding error handling, the function is declared with noexcept and designated as exception-safe (exception safe) [SWS_CORE_06432]. Callers therefore do not need to provide exception handling for the time query, as the operation is guaranteed to return without errors.
With respect to concurrency and restrictions, now() is specified as thread-safe (thread-safe) [SWS_CORE_06432]. The function may be called in parallel from arbitrary execution contexts and threads without application-side synchronization.
Within the interfaces of ara::core::SteadyClock, the function is likely primarily intended to provide points in time for relative interval measurements and runtime determinations (interpretation: derived from the scope and the return type [SWS_CORE_06432]). Question Q-34b2317714fd4e03 (open)
This usage note was generated automatically and is based on the specification of 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#bd3e1800- Content hash
bd3e1800- 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 · German original