Skip to content

Commit

Permalink
Add source "cpu-same-origin"
Browse files Browse the repository at this point in the history
Adding "cpu-same-origin" as source.
  • Loading branch information
arskama committed Jun 25, 2024
1 parent bfe7f14 commit 6d6f986
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h3>Supported sources</h3>
Future levels of this specification MAY introduce additional [=source types=].
</p>
<pre class="idl">
enum PressureSource { "thermals", "cpu" };
enum PressureSource { "thermals", "cpu", "cpu-same-origin" };
</pre>
<p>
The <dfn>PressureSource</dfn> enum represents the [=supported source types=]:
Expand All @@ -176,6 +176,11 @@ <h3>Supported sources</h3>
{{PressureSource/"cpu"}} represents the average pressure of the central [=processing unit=]
across all its cores.
</li>
<li>
{{PressureSource/"cpu-same-origin"}} represents the average pressure of the central [=processing unit=]
across all its cores for all contexts the site is using (this includes the main thread for the window
and same origin iframes, and workers).
</li>
</ul>
</p>
<aside class="note">
Expand Down

0 comments on commit 6d6f986

Please sign in to comment.