Skip to content

Commit a54b8ca

Browse files
committed
Timestamp: Fix comments from rakuco's first review
Signed-off-by: Arnaud Mandy
1 parent 99912ab commit a54b8ca

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

index.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,16 +1108,21 @@

Data delivery

11081108
<li>
11091109
Let |state:PressureState| be an [=adjusted pressure state=] given |data| and |source|.
11101110
li>
1111-
<li>
1112-
Let |timestamp| be an platform-specific timestamp converted in an [=implementation-defined=]
1113-
way to an [=monotonic clock/unsafe current time=] using the same [=monotonic clock=]
1114-
that is shared by [=environment settings object/time origin=].
11151111
<aside class="note">
11161112
The |data| sample and mapping between |data| sample, and [=pressure states=],
11171113
is [=implementation-defined=] and may use many different metrics. For instance,
11181114
for CPU, it might consider processor frequency and utilization, as well
11191115
as thermal conditions.
11201116
aside>
1117+
<li>
1118+
Let |timestamp| be an platform-specific timestamp converted in an [=implementation-defined=]
1119+
way to an [=monotonic clock/unsafe current time=] using the same [=monotonic clock=]
1120+
that is shared by [=environment settings object/time origin=].
1121+
<aside class="note">
1122+
The goal of this step is to ensure that a timestamp that may have been relative to
1123+
a different time origin is converted to a value that can be used in computations with
1124+
the same [=monotonic clock=] used by the operations described in [[HR-TIME]].
1125+
aside>
11211126
li>
11221127
<li>
11231128
[=list/For each=] |observer:PressureObserver| in |relevantGlobal|'s
@@ -1140,7 +1145,7 @@

Data delivery

11401145
{{PressureRecord/[[Source]]}} set to |source|,
11411146
{{PressureRecord/[[State]]}} set to |state|
11421147
and {{PressureRecord/[[Time]]}} set to [=relative high resolution time=] based on |timestamp|
1143-
and a global.
1148+
and |relevantGlobal|.
11441149
li>
11451150
<li>
11461151
If |observer|.{{PressureObserver/[[AfterPenaltyRecordMap]]}}[source] [=map/exists=]:

0 commit comments

Comments
 (0)