Carter Li
18c3cd2e66
CPU (Linux): fixes speed detection on s390x
...
Fixes #2129
2026-01-05 10:50:55 +08:00
Carter Li
b21f35e914
CMake (Hurd): defines O_PATH=0
2026-01-05 10:45:19 +08:00
李通洲
1d4d68f6e0
CPU (SunOS): adds const for consistancy
2025-12-17 14:30:07 +08:00
Yelninei
dc69e44829
CPU(Linux): Fix build on GNU.
2025-12-11 21:32:45 +08:00
李通洲
e766809e3a
CPU (SunOS): supports tempSensor
2025-12-11 14:24:07 +08:00
Carter Li
f2a29309f3
CPU (Linux): prevents variables from integer overflow
2025-12-11 09:52:50 +08:00
李通洲
6e7b4bab75
CPU (OpenBSD): supports tempSensor
2025-12-11 09:52:50 +08:00
李通洲
b4f39e251c
CPU (NetBSD): supports tempSensor
2025-12-11 09:52:50 +08:00
李通洲
af6196fe6e
CPU (FreeBSD): supports tempSensor
2025-12-11 09:52:50 +08:00
Carter Li
bca56b2049
CPU (Linux): supports tempSensor
2025-12-11 09:52:50 +08:00
李通洲
f4401f172e
CPU (Windows): supports tempSensor
2025-12-11 09:52:50 +08:00
李通洲
c11b88fee5
CPU (macOS): supports tempSensor
2025-12-11 09:52:50 +08:00
李通洲
a94f0efb5b
CPU: adds NUMA node detection
2025-11-18 09:30:47 +08:00
李通洲
0a792e4935
CPU (Android): adds detection support for Samsung Exynos SoCs
2025-10-14 14:49:29 +08:00
李通洲
05108977e8
CPU (Android): improves Android SoC vendor and model detection
2025-10-14 14:49:29 +08:00
李通洲
4b517263d0
Chore (macOS): refactors code for better resource management
2025-10-13 14:27:23 +08:00
Carter Li
88c8dcb3e8
CPU (Linux): improves detection for T-Head CPU vendor
...
Ref: #1997
2025-10-10 10:55:12 +08:00
Carter Li
f3a8fedf0a
CPU (Linux): improves SoC name detection from device tree
...
Fixes #1997
2025-10-10 10:50:20 +08:00
李通洲
af26828f91
CPU (Linux): adds support for HP PA‑RISC & SuperH CPU architecture detection
2025-10-05 09:22:06 +08:00
李通洲
bfc23232f8
CPU (Android): adds support for new Qualcomm and MediaTek SoC codes
2025-09-23 09:13:10 +08:00
李通洲
851751f99d
CPU (Linux): adds support for new ARM C1 series CPU part IDs
...
Follows changes of util-linux
2025-09-22 16:24:36 +08:00
李通洲
cdcdb78b97
CPU (Windows): refines ARMv8.4-A detection to require LSE2
2025-09-22 14:08:29 +08:00
李通洲
38f4215a94
CPU (Windows): trims vendor string read from registry
2025-09-16 10:55:17 +08:00
李通洲
e3eec3f62a
CPU (Windows): handles zero temperature data and refactors value use
...
Fixes #1960
2025-09-14 19:39:17 +08:00
Carter Li
45be29bad3
CPU (Linux): replaces HWCAP defines with explicit bitmasks for ARM
2025-09-11 14:02:41 +08:00
李通洲
6f5e618341
CPU (Linux): add new ARM part numbers
2025-09-10 14:32:07 +08:00
Qing Yun
0a4d6220e9
CPU (Linux): add cpu name detection for ia64
2025-09-04 18:34:14 +08:00
李通洲
d836d7569f
CPU (macOS): removes reliance on unavailable ARM capability headers on macOS
...
Fixes https://github.com/Homebrew/homebrew-core/pull/235425
2025-08-29 13:45:16 +08:00
Carter Li
9f5046d69f
CPU/GPU (Linux): Improves CPU/GPU temp detection accuracy on Linux/Android
2025-08-28 18:58:00 +08:00
李通洲
bc05a30724
CPU (Linux): improve temp detection
...
Support Android
2025-08-28 09:29:33 +08:00
李通洲
00f163be32
CPU (Windows): detects march on WoA
...
Tested in VM
2025-08-27 09:22:02 +08:00
李通洲
68bbb2980e
CPU (macOS): detects march on Apple Silicon
2025-08-27 09:22:02 +08:00
Carter Li
dd1a799abb
CPU (Linux): detects march on aarch64
2025-08-27 09:22:02 +08:00
李通洲
588c4c0026
Chore: silense compiler warnings
2025-08-25 09:25:25 +08:00
李通洲
8b18e69980
CPU: fix building on non-x86
2025-08-23 15:28:48 +08:00
李通洲
9ae968fbd3
CPU: adds CPU microarchitecture detection for x64 and reporting
...
Fixes #1928
2025-08-23 15:17:57 +08:00
李通洲
61f2823903
Global: fixes -ffast-math compatibility
...
Unifies unset double handling using `-DBL_MAX` sentinel
Fixes #1894
2025-08-14 10:01:34 +08:00
李通洲
7f1063d09b
Revert "CPU (macOS): use CPUID for freq detection on Intel"
...
This reverts commit 7ee0e8726e .
2025-08-11 16:35:35 +08:00
Carter Li
7ee0e8726e
CPU (macOS): use CPUID for freq detection on Intel
2025-08-10 00:14:16 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
Carter Li
6ec73863ab
CPU (Android): make SOC detection more loose
...
It's less accurate, but higher chance to match.
2025-07-29 09:28:41 +08:00
Carter Li
8c2f93151d
CPU (Android): add more QSD SOCs
2025-07-29 09:28:36 +08:00
李通洲
1854953d8c
Chore (Windows): move perflib_.h to somewhere global
2025-07-01 14:57:40 +08:00
apocelipes
3291a9945f
Global: add missing O_CLOEXEC to open()
2025-06-19 22:40:06 +08:00
Techflash
1e32a95f83
CPU (NetBSD): properly support PowerPC ( #1802 )
...
Some devices store their CPU name in hw.model, so check that as well
before giving up. Tested on NetBSD 10.1 evbppc/wii, and allows it to
detect the CPU as "750 (Revision 2.0)".
---------
Co-authored-by: Carter Li <CarterLi@users.noreply.github.com >
2025-06-11 00:15:40 -05:00
李通洲
9c37f1b370
CPU (Windows): use perflib.h instead of pdh.h for querying CPU temp
...
Fix #1787
2025-06-07 19:17:46 +08:00
李通洲
0cd8c6ead6
Chore: code cleanup
2025-05-30 10:33:37 +08:00
李通洲
e3592eb2c3
CPU (FreeBSD): simplify physical core count detection
2025-05-05 13:41:12 +08:00
Carter Li
305776eb94
CPU (SunOS): support physical core count and package count detection
2025-05-02 14:24:30 +08:00
李通洲
561574ae94
CPU (Windows): always use XxxW
2025-04-30 16:10:53 +08:00