cpu() fix physical cores parsing
This commit is contained in:
parent
5605b84b77
commit
55b1ff52e0
@ -80,7 +80,8 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 5.11.25 | 2022-07-11 | `fsSize()` fix iussue filtering (linux) |
|
||||
| 5.11.26 | 2022-07-12 | `cpu()` fix iussue parsing physical cores (linux) |
|
||||
| 5.11.25 | 2022-07-11 | `fsSize()` fix issue filtering (linux) |
|
||||
| 5.11.24 | 2022-07-10 | `fsSize()` fix parsing linux (df) |
|
||||
| 5.11.23 | 2022-07-09 | `fsSize()` fixes (linux), `baseboard()` fix (windows), `cpuTemperatur()` fix linux |
|
||||
| 5.11.22 | 2022-06-24 | `processes()` improved parsing (linux, mac OS) |
|
||||
|
||||
@ -57,6 +57,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.11.26</th>
|
||||
<td>2022-07-12</td>
|
||||
<td><span class="code">cpu()</span> fix issue parsing physical cores (linux)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.11.25</th>
|
||||
<td>2022-07-11</td>
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
<img class="logo" src="assets/logo.png">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span> </div>
|
||||
<div class="version">New Version: <span id="version">5.11.25</span></div>
|
||||
<div class="version">New Version: <span id="version">5.11.26</span></div>
|
||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||
</div>
|
||||
<div class="down">
|
||||
@ -206,7 +206,7 @@
|
||||
</div>
|
||||
<div class="row number-section">
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
||||
<div class="numbers">15,312</div>
|
||||
<div class="numbers">15,315</div>
|
||||
<div class="title">Lines of code</div>
|
||||
</div>
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
||||
|
||||
@ -719,6 +719,8 @@ function getCpu() {
|
||||
result.physicalCores = coresPerSocket ? coresPerSocket * processorsInt : result.cores / threadsPerCoreInt;
|
||||
result.processors = processorsInt;
|
||||
result.governor = util.getValue(lines, 'governor') || '';
|
||||
result.performanceCores = threadsPerCoreInt > 1 ? result.physicalCores - result.cores : result.cores;
|
||||
result.efficientCores = threadsPerCoreInt > 1 ? result.physicalCores - (threadsPerCoreInt * result.performanceCores) : 0;
|
||||
|
||||
// Test Raspberry
|
||||
if (result.vendor === 'ARM') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user