cpu().speed AMD base frequency and fix (0.00)
This commit is contained in:
parent
46a4c10375
commit
583d437940
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| -------------- | -------------- | -------- |
|
| -------------- | -------------- | -------- |
|
||||||
|
| 4.17.2 | 2020-01-05 | `cpu().speed` AMD base frequency and fix (0.00) |
|
||||||
| 4.17.1 | 2020-01-04 | `fsSize()` alpine linux support |
|
| 4.17.1 | 2020-01-04 | `fsSize()` alpine linux support |
|
||||||
| 4.17.0 | 2020-01-04 | `networkInterfaces()` added dhcp, dnsSuffix, ieee8021xAuth, ieee8021xState |
|
| 4.17.0 | 2020-01-04 | `networkInterfaces()` added dhcp, dnsSuffix, ieee8021xAuth, ieee8021xState |
|
||||||
| 4.16.1 | 2020-01-02 | `networkInterfaces()` bug fix (osx) |
|
| 4.16.1 | 2020-01-02 | `networkInterfaces()` bug fix (osx) |
|
||||||
|
|||||||
@ -83,6 +83,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">4.17.2</th>
|
||||||
|
<td>2020-01-05</td>
|
||||||
|
<td><span class="code">cpu().speed</span> AMD base frequency and fix (0.00)</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">4.17.1</th>
|
<th scope="row">4.17.1</th>
|
||||||
<td>2020-01-04</td>
|
<td>2020-01-04</td>
|
||||||
|
|||||||
@ -168,7 +168,7 @@
|
|||||||
<img class="logo" src="assets/logo.png">
|
<img class="logo" src="assets/logo.png">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span></div>
|
<div class="subtitle"><span id="typed"></span></div>
|
||||||
<div class="version">Current Version: <span id="version">4.17.1</span></div>
|
<div class="version">Current Version: <span id="version">4.17.2</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>
|
<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>
|
||||||
<div class="down">
|
<div class="down">
|
||||||
|
|||||||
110
lib/cpu.js
110
lib/cpu.js
@ -55,6 +55,114 @@ let _cpus = [];
|
|||||||
let _corecount = 0;
|
let _corecount = 0;
|
||||||
|
|
||||||
const AMDBaseFrequencies = {
|
const AMDBaseFrequencies = {
|
||||||
|
'8346': '1.8',
|
||||||
|
'8347': '1.9',
|
||||||
|
'8350': '2.0',
|
||||||
|
'8354': '2.2',
|
||||||
|
'8356|SE': '2.4',
|
||||||
|
'8356': '2.3',
|
||||||
|
'8360': '2.5',
|
||||||
|
'2372': '2.1',
|
||||||
|
'2373': '2.1',
|
||||||
|
'2374': '2.2',
|
||||||
|
'2376': '2.3',
|
||||||
|
'2376': '2.3',
|
||||||
|
'2377': '2.3',
|
||||||
|
'2378': '2.4',
|
||||||
|
'2379': '2.4',
|
||||||
|
'2380': '2.5',
|
||||||
|
'2381': '2.5',
|
||||||
|
'2382': '2.6',
|
||||||
|
'2384': '2.7',
|
||||||
|
'2386': '2.8',
|
||||||
|
'2387': '2.8',
|
||||||
|
'2389': '2.9',
|
||||||
|
'2393': '3.1',
|
||||||
|
'8374': '2.2',
|
||||||
|
'8376': '2.3',
|
||||||
|
'8378': '2.4',
|
||||||
|
'8379': '2.4',
|
||||||
|
'8380': '2.5',
|
||||||
|
'8381': '2.5',
|
||||||
|
'8382': '2.6',
|
||||||
|
'8384': '2.7',
|
||||||
|
'8386': '2.8',
|
||||||
|
'8387': '2.8',
|
||||||
|
'8389': '2.9',
|
||||||
|
'8393': '3.1',
|
||||||
|
'2419EE': '1.8',
|
||||||
|
'2423HE': '2.0',
|
||||||
|
'2425HE': '2.1',
|
||||||
|
'2427': '2.2',
|
||||||
|
'2431': '2.4',
|
||||||
|
'2435': '2.6',
|
||||||
|
'2439SE': '2.8',
|
||||||
|
'8425HE': '2.1',
|
||||||
|
'8431': '2.4',
|
||||||
|
'8435': '2.6',
|
||||||
|
'8439SE': '2.8',
|
||||||
|
'4122': '2.2',
|
||||||
|
'4130': '2.6',
|
||||||
|
'4162EE': '1.7',
|
||||||
|
'4164EE': '1.8',
|
||||||
|
'4170HE': '2.1',
|
||||||
|
'4174HE': '2.3',
|
||||||
|
'4176HE': '2.4',
|
||||||
|
'4180': '2.6',
|
||||||
|
'4184': '2.8',
|
||||||
|
'6124HE': '1.8',
|
||||||
|
'6128HE': '2.0',
|
||||||
|
'6132HE': '2.2',
|
||||||
|
'6128': '2.0',
|
||||||
|
'6134': '2.3',
|
||||||
|
'6136': '2.4',
|
||||||
|
'6140': '2.6',
|
||||||
|
'6164HE': '1.7',
|
||||||
|
'6166HE': '1.8',
|
||||||
|
'6168': '1.9',
|
||||||
|
'6172': '2.1',
|
||||||
|
'6174': '2.2',
|
||||||
|
'6176': '2.3',
|
||||||
|
'6176SE': '2.3',
|
||||||
|
'6180SE': '2.5',
|
||||||
|
'3250': '2.5',
|
||||||
|
'3260': '2.7',
|
||||||
|
'3280': '2.4',
|
||||||
|
'4226': '2.7',
|
||||||
|
'4228': '2.8',
|
||||||
|
'4230': '2.9',
|
||||||
|
'4234': '3.1',
|
||||||
|
'4238': '3.3',
|
||||||
|
'4240': '3.4',
|
||||||
|
'4256': '1.6',
|
||||||
|
'4274': '2.5',
|
||||||
|
'4276': '2.6',
|
||||||
|
'4280': '2.8',
|
||||||
|
'4284': '3.0',
|
||||||
|
'6204': '3.3',
|
||||||
|
'6212': '2.6',
|
||||||
|
'6220': '3.0',
|
||||||
|
'6234': '2.4',
|
||||||
|
'6238': '2.6',
|
||||||
|
'6262HE': '1.6',
|
||||||
|
'6272': '2.1',
|
||||||
|
'6274': '2.2',
|
||||||
|
'6276': '2.3',
|
||||||
|
'6278': '2.4',
|
||||||
|
'6282SE': '2.6',
|
||||||
|
'6284SE': '2.7',
|
||||||
|
'6308': '3.5',
|
||||||
|
'6320': '2.8',
|
||||||
|
'6328': '3.2',
|
||||||
|
'6338P': '2.3',
|
||||||
|
'6344': '2.6',
|
||||||
|
'6348': '2.8',
|
||||||
|
'6366': '1.8',
|
||||||
|
'6370P': '2.0',
|
||||||
|
'6376': '2.3',
|
||||||
|
'6378': '2.4',
|
||||||
|
'6380': '2.5',
|
||||||
|
'6386': '2.8',
|
||||||
'FX|4100': '3.6',
|
'FX|4100': '3.6',
|
||||||
'FX|4120': '3.9',
|
'FX|4120': '3.9',
|
||||||
'FX|4130': '3.8',
|
'FX|4130': '3.8',
|
||||||
@ -496,7 +604,7 @@ function getCpu() {
|
|||||||
if (!result.speed && result.brand.indexOf('AMD') > -1) {
|
if (!result.speed && result.brand.indexOf('AMD') > -1) {
|
||||||
result.speed = getAMDSpeed(result.brand);
|
result.speed = getAMDSpeed(result.brand);
|
||||||
}
|
}
|
||||||
if (!result.speed) {
|
if (result.speed === '0.00') {
|
||||||
result.speed = result.speedmax;
|
result.speed = result.speedmax;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user