systeminformation 5.9.14 → 5.9.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cpu.js +5 -5
- package/lib/index.js +513 -511
- package/lib/util.js +235 -117
- package/lib/wifi.js +72 -41
- package/package.json +1 -1
package/lib/cpu.js
CHANGED
|
@@ -1428,16 +1428,16 @@ function cpuCache(callback) {
|
|
|
1428
1428
|
const installedSize = util.getValue(lines, 'InstalledSize');
|
|
1429
1429
|
// L1 Instructions
|
|
1430
1430
|
if (level === '3' && cacheType === '3') {
|
|
1431
|
-
result.
|
|
1431
|
+
result.l1i = parseInt(installedSize, 10);
|
|
1432
1432
|
}
|
|
1433
1433
|
// L1 Data
|
|
1434
1434
|
if (level === '3' && cacheType === '4') {
|
|
1435
|
-
result.
|
|
1435
|
+
result.l1d = parseInt(installedSize, 10);
|
|
1436
1436
|
}
|
|
1437
1437
|
// L1 all
|
|
1438
|
-
if (level === '3' && cacheType === '5' && !result.
|
|
1439
|
-
result.
|
|
1440
|
-
result.
|
|
1438
|
+
if (level === '3' && cacheType === '5' && !result.l1i && !result.l1d) {
|
|
1439
|
+
result.l1i = parseInt(installedSize, 10) / 2;
|
|
1440
|
+
result.l1d = parseInt(installedSize, 10) / 2;
|
|
1441
1441
|
}
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|