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
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
6566ac3ccf
[v1.04] Add Apple VZ hypervisor ( #218 )
2024-01-15 08:43:28 +00:00
Dr-Noob
d8ce2de287
[v1.04] Testing bhyve matcher
2023-10-03 21:00:43 +01:00
Dr-Noob
45854a00d6
[v1.04] Add bhyve hypervisor
2023-09-24 12:10:39 +01: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
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
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
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
4229e2c63b
[v1.01][X86] Do not assume that cach and topo structures are non-NULL, which may easily happen in VMs. Add protection against NULL fields in cpu structure
2021-12-03 23:15:23 +01:00
Dr-Noob
4a9bbef086
[v1.01] Fix compiler warning
2021-11-20 10:27:34 +01:00
Dr-Noob
7226adb04d
[v1.00] Skeleton for future support for other vector instructions in --accurate-pp
2021-11-19 21:36:55 +01:00
Dr-Noob
a5b321a966
[v1.00][X86] Retrieve topology from udev when APIC fails (like #119 )
2021-11-01 13:55:49 +01:00
Dr-Noob
6981d61eaf
[v1.00][X86] Show unknown string when the number of cores cannot be retrieved (like #119 )
2021-11-01 13:07:48 +01:00
Dr-Noob
bb12a2c276
[v1.00] Fix ambiguity in uarch detection with 0x806E9; it may be Amber/Kaby Lake (thanks to #122 for pointing this out!). We can differentiate by CPU name (hacky, but is there a better way?)
2021-10-07 22:37:29 +02:00
Dr-Noob
2cdc31392a
[v1.00] Add --accurate-pp option (Linux x86_64) only. Needs more work to make it stable (add support for non-AVX, AVX512, etc)
2021-09-16 15:13:26 +02:00
Dr-Noob
ca5677a77f
[v0.99][X86] Improve CPU abbreviate code
2021-08-12 10:39:26 +02:00
Dr-Noob
6d79a96fa8
[v0.99][X86] Add --full-cpu-name option
2021-08-11 23:24:48 +02:00
Dr-Noob
06a76d4c75
[v0.99][X86] Add function to abbreviate Intel CPU names from CPUID
2021-08-10 15:57:27 +02:00
Dr-Noob
5737f1ecaf
[v0.98][Refactoring] Do not use hv_present in get_freq_from_file
2021-08-07 10:38:32 +02:00
Dr-Noob
fba69daee0
[v0.98][Refactoring] Simplify x86 get_str_topology
2021-08-07 10:27:41 +02:00
Dr-Noob
a03f296390
[v0.98] Fix bug in get_str_peak_performance and always show unknown pp when freq is also unknown
2021-08-07 08:58:49 +02:00
Dr-Noob
2b21326167
[v0.98][Refactoring] Use printWarn + strerror(errno) instead of perror. Use fallback in ppc in case total_cores cannot be retrieved
2021-08-07 08:45:37 +02:00
Dr-Noob
c24dd7cbb6
[v0.98][Refactoring] Use int for peak performance, which makes code cleaner
2021-08-06 11:04:29 +02:00
Dr-Noob
6953d8dda5
[v0.98][Refactoring] Unify the use of get_str_peak_performance
2021-08-06 10:26:07 +02:00
Dr-Noob
44d4b3b553
[v0.98][Refactoring] Unify the use of init_topology_struct and init_cache_struct
2021-08-05 20:01:32 +02:00
Dr-Noob
6ab6afc974
[v0.98][Refactoring] Unify the use of unknown string
2021-08-05 19:07:09 +02:00
Dr-Noob
c4f6ba7c55
[v0.98] Fix compilation in different platforms
2021-08-04 23:33:44 +02:00
Dr-Noob
eac97bf721
[v0.98] Use malloc/calloc wrapper that exits when alloc fails, as suggested by #90
2021-08-04 10:01:32 +02:00
Dr-Noob
3a636c101b
[v0.98] Use unsigned integers in bit operations as suggested by #76
2021-08-03 23:54:49 +02:00