Dr-Noob
11e186e65b
[v1.06][X86] Add Zen5 uarch
2024-09-05 08:33:02 +01:00
Dr-Noob
0507355372
[v1.06][X86] Bugfix: set affinity in --accurate-pp
...
There are cases where measure_frequency is called after binding the
process to a specific core via bind_to_cpu (e.g., when iterating over
modules in hybrid architectures). Thus, in measure_frequency we must
set the affinity of the newly created threads, ensuring they are
binded to the right core.
2024-08-26 12:31:18 +01:00
Dr-Noob
40374121b8
[v1.06] Replace emalloc+memset with ecalloc when possible. Refactor some memory allocation code
2024-08-24 15:32:33 +01:00
Timothy Warren
321a1ec375
[v1.06][X86] Add old Intel and AMD CPUs ( #260 )
...
* Add Intel and AMD 486, Intel Pentium Pro, and AMD K5 chips
* Update infer_cpu_name_from_uarch to support added CPU uarches
* Add sources for more of the legacy chip data
* Add the more specific codename for Intel Pentium MMX Mobile chips
* Document source of AMD 486/K5 variants
* Add link to documentation for Intel 486
---------
Co-authored-by: Timothy Warren <tim@timshomepage.net >
2024-08-20 09:25:01 +02:00
Er2
8d10a03adc
[v1.06][FreeBSD][Apple] Implement fallback frequency calculation ( #251 )
2024-08-19 09:21:41 +02:00
Dr-Noob
50f66ec571
[v1.05][X86] Fix compilation issue in clang and fallback to get_topology_from_udev also in AMD
2024-08-03 15:45:10 +01:00
Dr-Noob
cb186a2f97
[v1.05][X86] Do not show empty SSE if not supported ( #260 )
2024-08-02 10:09:51 +01:00
Dr-Noob
79013d0ec9
[v1.05][X86] Improve robustness in case of old CPUs (verified by #220 )
...
- Use udev to get topo when apic failed or is not available.
- Assume single core in udev when total cores is 1.
- Print core/cores accordingly to the number of cores.
2024-07-25 08:23:56 +01:00
Dr-Noob
8fca4cb250
[v1.05][X86] Fix frequency fetching from udev and measurement in hybrid architectures
2024-07-11 22:27:42 +01:00
Dr-Noob
59cd2dd128
[v1.05][X86] Add support for Hygon CPUs ( #244 )
2024-07-09 08:34:44 +01:00
Dr-Noob
8506c91e00
[v1.05] Add --measure-max-freq (available on x86 and ARM)
2024-07-08 09:07:57 +01:00
Dr-Noob
e0095c303d
[v1.05] Print a tilde in case the freq was measured (indicating that this value is an approximation)
2024-07-08 08:23:56 +01:00
Dr-Noob
9212f19de1
[v1.05] Add support for frequency measurement (both x86 and ARM) (branch measure-freq #220 )
2024-07-05 08:44:34 +01:00
Dr-Noob
b019256515
[v1.05] Continue merging measure-freq #220
...
- [v1.05][X86] Show SSE if AVX/FMA is not supported
- [v1.05][X86] Do not stop if cach is NULL and check for non-NULL cache in get_topology_info functions
- [v1.05][X86] Fix bug where the number of cpus were not set if NULL was returned inside the loop. Ensure topo is not NULL in get_peak_performance. Fallback to UNKNOWN_DATA when we have no information about topology
2024-07-05 08:37:54 +01:00
Dr-Noob
d4cadbd807
[v1.05] Move bind_to_cpu from x86-specific to global (merging measure-freq #220 )
2024-07-05 08:32:11 +01:00
Dr-Noob
dfa2b773d1
[v1.05][X86] Add new Zen4 uarch ( #237 )
2024-05-18 22:36:23 +01:00
Dr-Noob
59efbf4e08
[v1.05] Add VirtualBox hypervisor (noted in #235 )
2024-05-18 22:27:17 +01:00
Dr-Noob
cc16bc56ef
[v1.05][X86] Improve support for old x86 CPUs ( #220 ) by improving Pentium uarch detection and adding support to infer the CPU name from uarch when the corresponding CPUID level is not available
2024-02-13 21:29:08 +00:00
Dr-Noob
08919916dc
[v1.05] Always print manufacturing process in nanometers (this indirectly fixes a bug of processes in micrometers being incorrectly reported by 10x
2024-02-13 21:24:16 +00:00
Dr-Noob
14df701707
[v1.04] Check release when printing error also in Apple chip failures
2024-02-05 08:46:17 +00:00
Dr-Noob
cbcce9c2ed
[v1.04] Improve error reporting in the case of unkown microarchitectures. As pointed out in #224 this was already solved, but this commit tries to be an improvement over the previous implementation
2024-02-05 08:37:59 +00:00
Dr-Noob
6566ac3ccf
[v1.04] Add Apple VZ hypervisor ( #218 )
2024-01-15 08:43:28 +00:00
Dr-Noob
2feee25659
[v1.04] Clarify how the unknown microarchitectures should be reported
2023-12-03 20:23:15 +00:00
Dr-Noob
8335bd004d
[v1.04][X86] Add AMD uarchs
2023-12-02 18:18:43 +00:00
Dr-Noob
d8ce2de287
[v1.04] Testing bhyve matcher
2023-10-03 21:00:43 +01:00
Dr-Noob
fe4bcde898
[v1.04][X86] Added new uarchs
2023-09-24 12:58:56 +01:00
Dr-Noob
45854a00d6
[v1.04] Add bhyve hypervisor
2023-09-24 12:10:39 +01:00
Dr-Noob
9a46e310e4
[v1.04][X86] Add additional Zen4 cpuid
2023-09-02 18:48:22 +01:00
Dr-Noob
6349f4435e
[v1.04][X86] Add mobile rocket lake chip
2023-06-06 21:44:27 +02:00
Dr-Noob
7a3fd539c3
[v1.03][X86] Fix compilation warning under Windows
2023-05-06 11:30:14 +02:00
Dr-Noob
f6bf00e33d
[v1.03][X86] Refactor --raw. Add support for printing HV level
2023-05-06 11:14:46 +02:00
Dr-Noob
985bd6f25f
[v1.03][X86] Do not consider an empty HV as a bug
2023-05-06 11:02:37 +02:00
Dr-Noob
0397db2fd8
[v1.03][PPC] Implement hypervisor detection in PowerPC
2023-05-04 18:56:31 +02:00
Dr-Noob
de638aba50
[v1.03][x86] Fix Zen4 peak performance calculation
2023-04-24 17:47:42 +02:00
Dr-Noob
5be6f8bba0
[v1.03][x86] Add AMD 9004 Series CPUID
2023-04-22 08:20:35 +02:00
Dr-Noob
be600728d7
[v1.03][X86] Fix freq functions argument to comply with what pthread expects
2023-01-29 09:30:30 +01:00
Dr-Noob
6eb2357485
[v1.03] Add void to function declarations with no args. C99 Standard says in 6.7.5.3 that empty arguments are actually obsolescent - this commit fixes a warning in some compilers
2023-01-29 09:25:07 +01:00
Dr-Noob
687459961d
[v1.03][X86] Fix ambiguity in Kaby/Coffee Lake classification as noted by #149
2023-01-28 09:06:24 +01:00
Dr-Noob
ba8bbdd252
[v1.03][X86] Add support for new Intel chips in uarch
2023-01-12 18:46:09 +01:00
Dr-Noob
095bbfb784
[v1.03] Fix build in macOS
2023-01-06 12:19:06 +01:00
Dr-Noob
22a80d817d
[v1.03] Fix compilation errors in Windows
2023-01-05 11:43:14 +01:00
Dr-Noob
a4c0bb1aae
[v1.02] Merge Alder Lake into master branch
2023-01-05 11:17:16 +01:00
Dr-Noob
ea29507b62
[v1.02] Added basic support for Zen4
2022-12-03 16:29:53 +00:00
Dr-Noob
b2aa8194c6
[v1.02][x86] Detect and print core type in ADL
2022-12-02 21:25:30 +00:00
Dr-Noob
77510c260a
[v1.02][x86] Small fixes to hybrid core detection
2022-11-05 18:28:10 +00:00
Dr-Noob
1eb1a5246e
[v1.02][x86] Extending peakperf computation to hybid cores
2022-11-05 18:17:38 +00:00
Dr-Noob
ff5166ea2e
[v1.02][x86] Adding support for topology detection of hybrid cores
2022-11-05 17:48:20 +00:00
Dr-Noob
051d48b7d1
[v1.02][x86] Suport for detecting hybrid_flag
2022-10-20 20:49:10 +00:00
Dr-Noob
e91eef3e65
[v1.02][x86] Split feature detection into a separate function
2022-10-20 20:48:22 +00:00
Dr-Noob
87961144d2
[v1.02][X86] Add Zen3+ uarch
2022-09-09 09:02:26 +02:00