Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timestamp: Redefine timestamp in Data delivery #274

Merged
merged 5 commits into from
Jun 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1109,8 +1109,9 @@ <h3>Data delivery</h3>
Let |state:PressureState| be an [=adjusted pressure state=] given |data| and |source|.
</li>
<li>
Let |timestamp:DOMHighResTimeStamp| be a timestamp representing the time the |data| was
obtained from the |relevantGlobal|'s [=platform collector=].
Let |timestamp| be an platform-specific timestamp converted in an [=implementation-defined=]
rakuco marked this conversation as resolved.
Show resolved Hide resolved
way to an [=monotonic clock/unsafe current time=] using the same [=monotonic clock=]
that is shared by [=environment settings object/time origin=].
arskama marked this conversation as resolved.
Show resolved Hide resolved
<aside class="note">
The |data| sample and mapping between |data| sample, and [=pressure states=],
is [=implementation-defined=] and may use many different metrics. For instance,
Expand Down Expand Up @@ -1138,7 +1139,8 @@ <h3>Data delivery</h3>
Let |record:PressureRecord| be a new {{PressureRecord}} object with its
{{PressureRecord/[[Source]]}} set to |source|,
{{PressureRecord/[[State]]}} set to |state|
and {{PressureRecord/[[Time]]}} set to |timestamp|.
and {{PressureRecord/[[Time]]}} set to [=relative high resolution time=] based on |timestamp|
and a global.
arskama marked this conversation as resolved.
Show resolved Hide resolved
</li>
<li>
If |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[source] [=map/exists=]:
Expand Down
Loading