From 0f3934777d16f76d5ed667bec567bf68da2ca118 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Tue, 25 Jul 2023 12:27:45 +0200 Subject: [PATCH] cpu() added AMD ZEN 4 base frequencies --- CHANGELOG.md | 3 ++- docs/history.html | 5 +++++ docs/index.html | 6 +++--- lib/cpu.js | 33 +++++++++++++++++++++++++++++++-- 4 files changed, 41 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9793e8d..ffbf2d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,7 +82,8 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | -| 5.18.7 | 2023-06-28 | `osInfo()` added macOS Sonoma code name (mac OS) | +| 5.18.7 | 2023-07-25 | `cpu()` added AMD ZEN 4 base frequencies | +| 5.18.7 | 2023-07-12 | `osInfo()` added macOS Sonoma code name (mac OS) | | 5.18.6 | 2023-06-28 | `graphics()` fixed catched errors (mac OS) | | 5.18.5 | 2023-06-26 | `cpu()` fixed parsing (mac OS) | | 5.18.4 | 2023-06-22 | `graphics()` fixed parsing (mac OS) | diff --git a/docs/history.html b/docs/history.html index ddb7d82..31bed5c 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.18.8 + 2023-07-25 + cpu() added AMD ZEN 4 base frequencies + 5.18.7 2023-07-12 diff --git a/docs/index.html b/docs/index.html index cb89cc2..c9f4034 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.18.7
+
New Version: 5.18.8
@@ -204,7 +204,7 @@
-
15,423
+
15,481
Lines of code
@@ -212,7 +212,7 @@
Downloads last month
-
632
+
633
Dependents
diff --git a/lib/cpu.js b/lib/cpu.js index 2e8b664..d69811b 100644 --- a/lib/cpu.js +++ b/lib/cpu.js @@ -421,20 +421,24 @@ const AMDBaseFrequencies = { // Epyc (Milan) + '7773X': '2.2', '7763': '2.45', '7713': '2.0', '7713P': '2.0', '7663': '2.0', '7643': '2.3', + '7573X': '2.8', '75F3': '2.95', '7543': '2.8', '7543P': '2.8', '7513': '2.6', + '7473X': '2.8', '7453': '2.75', '74F3': '3.2', '7443': '2.85', '7443P': '2.85', '7413': '2.65', + '7373X': '3.05', '73F3': '3.5', '7343': '3.2', '7313': '3.0', @@ -445,9 +449,34 @@ const AMDBaseFrequencies = { '5600X': '3.7', '5800X': '3.8', '5900X': '3.7', - '5950X': '3.4' -}; + '5950X': '3.4', + // ZEN4 + '9754': '2.25', + '9754S': '2.25', + '9734': '2.2', + '9684X': '2.55', + '9384X': '3.1', + '9184X': '3.55', + '9654P': '2.4', + '9654': '2.4', + '9634': '2.25', + '9554P': '3.1', + '9554': '3.1', + '9534': '2.45', + '9474F': '3.6', + '9454P': '2.75', + '9454': '2.75', + '9374F': '3.85', + '9354P': '3.25', + '9354': '3.25', + '9334': '2.7', + '9274F': '4.05', + '9254': '2.9', + '9224': '2.5', + '9174F': '4.1', + '9124': '3.0' +}; const socketTypes = { 1: 'Other',