mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-11-29 04:21:35 +00:00
[v1.04][ARM] Add additional debug info for Apple ARM chips
This commit is contained in:
1 parent
56e8cc7503
commit
727c49fdae
1 file changed
+6
@@ -526,6 +526,12 @@ void print_debug(struct cpuInfo* cpu) {
|
||||
printf("%ld MHz\n", freq);
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(__APPLE__) || defined(__MACH__)
|
||||
printf("hw.cpufamily: 0x%.8X\n", get_sys_info_by_name("hw.cpufamily"));
|
||||
printf("hw.cpusubfamily: 0x%.8X\n", get_sys_info_by_name("hw.cpusubfamily"));
|
||||
printf("hw.physicalcpu: %d\n", get_sys_info_by_name("hw.physicalcpu"));
|
||||
#endif
|
||||
}
|
||||
|
||||
void free_topo_struct(struct topology* topo) {
|
||||
|
||||
Reference in new issue
Block a user