Carter Li
ee564de461
CPU: change cpuCount to packages; support custom format
...
Fix #1413
2024-11-26 21:37:15 +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
李通洲
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
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
81b0ddb2da
Chore: rename temps_apple
2024-09-24 10:37:54 +08:00
李通洲
952152edf0
Global (macOS): always check NULL after IORegistryEntryCreateCFProperty
2024-07-26 08:46:34 +08:00
李通洲
63a0faa1d9
GPU (macOS): support GPU frequency detection for Apple Silicon
...
Also refactor CPU freq detection code
2024-07-17 15:51:15 +08:00
李通洲
d282050130
CPU: support display frequency in MHz
2024-07-17 14:09:06 +08:00
Carter Li
c0de618177
CPU: remove support of min freq detection
2024-07-17 10:19:12 +08:00
Carter Li
2d4e7f10c4
CPU: add option --show-pe-core-count
2024-05-21 09:21:03 +08:00
李通洲
d88e2eeb36
CPU (macOS): fix compiling
2024-05-18 19:57:24 +08:00
李通洲
7946e69a66
CPU: print core count for different core types
2024-05-18 18:08:38 +08:00
Carter Li
fd16e69464
CPU (macOS): fix core count detection
2024-05-18 01:46:56 +08:00
李通洲
ab2268a927
CPU (macOS): detect core count for different core types
2024-05-17 16:47:26 +08:00
李通洲
2e201eaaf7
CPU: bring min frequency back & code optimizations
2024-03-14 19:24:03 +08:00
李通洲
7e04e23528
CPU: rename min frequency to base frequency
2024-03-13 23:42:59 +08:00
李通洲
8d779f68f3
CPU: detect base frequency
2024-03-13 23:41:11 +08:00
李通洲
b6c8649cbf
macOS: improve IO service related code generally
2024-01-05 15:00:50 +08:00
李通洲
54bd4346ec
Temps (macOS): rename functions
2023-12-27 08:46:49 +08:00
李通洲
f20b6d4387
Temps (macOS): support Apple M3
2023-12-08 16:10:10 +08:00
李通洲
90ea096ca3
macOS: don't keep variable matchDict
2023-10-07 15:51:05 +08:00
李通洲
d8b2151143
CPU (macOS): support Apple Silicon frequency detection
2023-09-08 10:11:56 +08:00
李通洲
904c9eb3c4
CPU (macOS): code refactor
2023-09-08 10:11:31 +08:00
李通洲
28e412b79d
CPU: add JSON printing support
2023-09-05 15:29:46 +08:00
李通洲
74233ac0cb
Temps (macOS): code refactors
2023-08-07 10:19:08 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
李通洲
56effcb189
CPU: use module options
2023-06-12 10:33:28 +08:00
李通洲
39582471e8
Global: major FFlist related code refactor
2023-06-10 09:15:15 +08:00
李通洲
f205982ae5
CPU: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
ff6e982050
Global: remove caching except image caching
2022-12-17 12:41:11 +08:00
李通洲
e8e586ce7c
Windows / macOS: simplify code
...
1. simplify resource management by using C++ RAII like GCC attribute extension `cleanup`
2. simplify HEKY reading
Actually `__attribute__((__cleanup__(cleanupFn)))` is supported on all major C compiler ( gcc, clang and icc ) except MSVC I only used it on Windows and macOS for now. Let's see if the project author like it.
2022-11-17 19:54:36 +08:00
李通洲
100e59fd49
Temps: add options to enable detection ( disabled by default )
2022-09-26 15:29:11 +08:00
李通洲
51c70bc44a
Temps: support macOS
2022-09-26 15:29:11 +08:00
Linus Dierheimer
f5ac85c4e3
Only detect temps if --allow-slow-operations is given
2022-09-24 15:59:36 +02:00
Linus Dierheimer
d31d157b00
New caching mechanism for CPU
2022-09-21 17:26:10 +02:00
Linus Dierheimer
2a61d29be9
sysctl utils
2022-09-19 21:31:50 +02:00
Linus Dierheimer
cfcc4c8375
MacOS cpu support
2022-09-04 14:12:04 -07:00
Linus Dierheimer
ea60fd0a0d
Separate cpu detection and printing logic
2022-09-04 22:20:12 +02:00