memLayout() improved clock speed detection (windows)

This commit is contained in:
Sebastian Hildebrandt 2021-06-08 23:01:24 +02:00
parent d0d55b1059
commit 0b12a29d82
5 changed files with 14 additions and 8 deletions

View File

@ -53,8 +53,8 @@ We had to make **several interface changes** to keep systeminformation as consis
- `getData()`: support for passing parameters and filters (see section General / getData)
- `graphics()`: extended nvidia-smi parsing
- `networkInterfaces()`: type detection improved (win - wireless)
- `memoryLayout()`: extended manufacturer list (decoding)
- `memoryLayout()`: added ECC flag
- `memLayout()`: extended manufacturer list (decoding)
- `memLayout()`: added ECC flag
- `osInfo()`: better fqdn (win)
- `osinfo()`: added hypervizor if hyper-v is enabled (win only)
- `osInfo()`: added remoteSession (win only)
@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 5.7.5 | 2021-06-08 | `memLayout()` improved clock speed detection (windows) |
| 5.7.4 | 2021-05-27 | `osInfo()`, `cpu()` improved hypervisor, virtualization detection (windows) |
| 5.7.3 | 2021-05-26 | `osInfo()` improved UEFI detection (windows) |
| 5.7.2 | 2021-05-24 | `system()` virtual detection improvement |

View File

@ -179,8 +179,8 @@
<li><span class="code">getData()</span>: support for passing parameters and filters (see <a href="general.html">section General / getData</a>)</li>
<li><span class="code">graphics()</span>: extended nvidia-smi parsing</li>
<li><span class="code">networkInterfaces()</span>: type detection improved (win - wireless)</li>
<li><span class="code">memoryLayout()</span>: extended manufacturer list (decoding)</li>
<li><span class="code">memoryLayout()</span>: added ECC flag</li>
<li><span class="code">memLayout()</span>: extended manufacturer list (decoding)</li>
<li><span class="code">memLayout()</span>: added ECC flag</li>
<li><span class="code">osInfo()</span>: better fqdn (win)</li>
<li><span class="code">osinfo()</span>: added <span class="code">hypervizor</span> if hyper-v is enabled (win only)</li>
<li><span class="code">system()</span>: better Raspberry PI detection</li>

View File

@ -56,6 +56,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.7.5</th>
<td>2021-06-08</td>
<td><span class="code">memLayout()</span> improved clock speed detection (windows)</td>
</tr>
<tr>
<th scope="row">5.7.4</th>
<td>2021-05-27</td>
@ -329,7 +334,7 @@
<tr>
<th scope="row">5.0.4</th>
<td>2021-01-27</td>
<td><span class="code">memoryLayout()</span> improved manufacturer decoding (linux)</td>
<td><span class="code">memLayout()</span> improved manufacturer decoding (linux)</td>
</tr>
<tr>
<th scope="row">5.0.3</th>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.7.4</span></div>
<div class="version">New Version: <span id="version">5.7.5</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">
@ -211,7 +211,7 @@
<div class="title">Downloads last month</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">414</div>
<div class="numbers">420</div>
<div class="title">Dependents</div>
</div>
</div>

View File

@ -510,7 +510,7 @@ function memLayout(callback) {
bank: util.getValue(lines, 'abel', '='), // BankLabel
type: memoryTypes[parseInt(util.getValue(lines, 'MemoryType', '='), 10)],
ecc: dataWidth && totalWidth ? totalWidth > dataWidth : false,
clockSpeed: parseInt(util.getValue(lines, 'ConfiguredClockSpeed', '='), 10) || 0,
clockSpeed: parseInt(util.getValue(lines, 'ConfiguredClockSpeed', '='), 10) || parseInt(util.getValue(lines, 'Speed', '='), 10) || 0,
formFactor: FormFactors[parseInt(util.getValue(lines, 'FormFactor', '='), 10) || 0],
manufacturer: util.getValue(lines, 'Manufacturer', '='),
partNum: util.getValue(lines, 'PartNumber', '='),