Carter Li
3ea0406b69
CPU (Linux): fix var content was unexpectedly modified
2025-01-06 10:57:29 +08:00
Carter Li
f28f5e2874
CPU (Linux): detect TZ temp if CPU temp is not available
2025-01-05 17:28:01 +08:00
李通洲
851f271ed5
CPU (NetBSD): fix typo
2024-12-22 14:20:32 +08:00
李通洲
b99f54b9f4
CPU (NetBSD): trim CPU vendor
2024-12-21 23:54:30 +08:00
李通洲
5a8dda27ff
CPU (NetBSD): support temp and frequency detection
2024-12-21 23:54:30 +08:00
Carter Li
ab1a11c9fa
CPU (ARM): add more apple cores
2024-12-13 15:29:24 +08:00
Carter Li
68746275f8
CPU (Linux): detect Virtualized Apple Silicon
2024-12-13 15:28:59 +08:00
李通洲
90bbefe11a
CPU (Windows): code cleanup
2024-11-26 22:02:57 +08:00
Carter Li
69a7e64e48
CPU (Linux): support up to 128-socket boards
2024-11-26 21:49:28 +08:00
Carter Li
ee564de461
CPU: change cpuCount to packages; support custom format
...
Fix #1413
2024-11-26 21:37:15 +08:00
Carter Li
9955e9da02
CPU: remove duplicate whitespaces in CPU name
...
Eg. `Intel(R) Xeon(R) CPU E5620 @ 2.40GHz`
2024-11-26 21:27:36 +08:00
Carter Li
8b41cbd508
CPU (Linux): refactor; fix cpu count detection
2024-11-26 16:05:01 +08:00
AzimovParviz
7535ce8a18
Support for dual CPU systems ( #1417 )
...
* [macOS] Added support for dual CPUs on Mac computers
Signed-off-by: Koneko <azimovp17@gmail.com >
* Change how number of cores is displayed when the system is dual CPU
* Support for dual CPU on Windows
* Dual CPU detection on Linux basic implementation
---------
Signed-off-by: Koneko <azimovp17@gmail.com >
2024-11-26 08:53:01 +08:00
Carter Li
e821a99873
CPU (Linux): add more Apple SOC code names
2024-11-13 16:44:24 +08:00
李通洲
c70c37c50c
GPU (macOS): apply the same logic as CPU just in case
2024-11-12 22:58:22 +08:00
李通洲
644458bc74
CPU (macOS): try fixing CPU freq detection on Apple M4
...
Fix #1394
2024-11-12 22:34:57 +08:00
Carter Li
08a92a4324
CPU (OpenBSD): support CPU temp detection
2024-11-10 13:28:48 +08:00
李通洲
d4c7b53ded
CPU (Android): add QS8E
2024-10-31 09:33:23 +08:00
Carter Li
229d5f899c
CPU (NetBSD): add support
2024-10-30 23:29:05 +08:00
李通洲
4665fdd145
Global: make it compile on NetBSD
...
Doesn't work yet.
2024-10-27 11:43:36 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
apocelipes
84cc9e3b15
Chore: fix some unused paramater/function warnings ( #1324 )
2024-10-06 23:01:49 +08:00
Carter Li
a32d9d788c
OpenBSD: init platform support
2024-10-04 17:49:18 +08:00
kralverde
89d3924659
CPU (Linux): fix temperature detection ( #1308 )
...
Return proper NaN instead of false -> 0.0 coercion
2024-10-02 07:43:58 +08:00
Carter Li
d77f0fe3d9
CPU (Linux): detect SOC name if available
2024-09-30 15:09:06 +08:00
Carter Li
a424839d2f
CPU (Linux): remove bios_limit detection
2024-09-28 17:10:22 +08:00
李通洲
5dbd6b9ab8
Chore: remove temps_windows
2024-09-24 13:30:42 +08:00
李通洲
0c90941a32
Chore: remove temps_bsd
2024-09-24 11:00:49 +08:00
李通洲
81b0ddb2da
Chore: rename temps_apple
2024-09-24 10:37:54 +08:00
李通洲
9b4053e9dc
Chore: remove temps_linux
2024-09-24 01:51:45 +00:00
李通洲
b4325ff205
Temps (Linux): simplify
2024-09-24 01:42:00 +00:00
Carter Li
3381062ab9
CPU (FreeBSD): fix cpu temperature detection
2024-09-14 21:53:43 +08:00
李通洲
ed2dd8f2ec
CPU (FreeBSD): remove using of freq_levels
...
Doesn't work at all
Fix #1260
2024-09-13 20:48:58 +08:00
李通洲
7bbaca2fab
CPU (FreeBSD): remove showPeCoreCount support
...
It doesn't work. Ref #1260
2024-09-12 20:58:36 +08:00
Carter Li
b2810bc030
CPU (Linux): update comments
2024-09-10 09:10:03 +08:00
Carter Li
611d5f949b
CPU (Linux): detect Qualcomm Snapdragon SOC
2024-09-09 20:49:25 +08:00
Carter Li
c24d378cf1
CPU (FreeBSD): detect the number of online cores
2024-09-06 15:37:37 +08:00
Carter Li
de8efb39c8
CPU (ARM): add new microarchitectures
2024-09-06 14:11:57 +08:00
Carter Li
13452da076
CPU (Linux): add more Snapdragon SOCs
2024-09-06 14:01:56 +08:00
李通洲
b5695b50c2
CPU (Linux): add code name of Apple M4
2024-08-23 16:03:52 +08:00
Carter Li
17deaf963e
CPU (Linux): make "Hardware :" arm specific
2024-08-22 09:29:26 +08:00
Carter Li
96905012a4
CPU (Linux): support loongarch
...
Fix #1204
2024-08-22 09:16:44 +08:00
Carter Li
591dba8829
CPU (Linux): don't parse unnecessary lines on certain platforms
2024-08-21 16:42:40 +08:00
李通洲
d10dd2095a
CPU (Android): try support old armv7 smart phone
...
Fix #1202
2024-08-21 16:40:40 +08:00
Carter Li
418902512d
CPU: detect frequency by cpuid (x86 only)
...
Ref: https://github.com/fastfetch-cli/fastfetch/issues/1194#issuecomment-2295058252
2024-08-18 19:24:24 +08:00
Carter Li
fbfe2b2d1a
CPU (Linux): tidy
2024-08-18 17:26:06 +08:00
李通洲
c8e4de9831
CPU (Linux): silence complier warnings
2024-08-15 19:40:39 +08:00
Carter Li
6b6827b915
CPU (Linux): also detect CPU name for arm32
2024-08-15 15:24:13 +08:00
李通洲
7447a95299
CPU (Linux): better ARM cpu name detection
2024-08-15 15:05:18 +08:00
Carter Li
df4350666a
CPU (Linux): embed the arm part codes of lscpu
...
Fix #1175
2024-08-12 10:25:54 +08:00