Dr-Noob
ab43a11ef2
[v1.06][X86] Fix accurate-pp in hybrid architectures ( fixes #169 )
...
Overview of changes:
- Adds field max_pp in frequency struct to hold the max freq for peak-performance estimation.
- Instead of getting the max frequency in get_peak_performance, we get it in get_cpu_info (more natural).
- Adds fill_frequency_info_pp which fills the max_pp of the passed cpu by calling measure_frequency.
The approach is to call measure_frequency with a vector where the max frequencies are stored. Then,
the first time measure_frequency is called, the frequency is measured while running all the cores,
and the max frequency is computed per module (e.g., in the case of 2 modules, we would compute
the freq for the first and for the second module), and saved into this vector. Subsequent calls to
measure_frequency will just read the corresponding value for the vector. In other words, the frequency
is only measured once for the whole CPU.
2024-09-10 22:43:23 +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
0a048717bf
[v1.04][X86] Fix bug in AMD CPUs ( #212 )
2023-12-24 23:03:20 +00:00
Dr-Noob
1f450b23a1
[v1.03][RISCV] Add support for compiling to RISC-V
2023-03-31 17:57:01 +02:00
Dr-Noob
095bbfb784
[v1.03] Fix build in macOS
2023-01-06 12:19:06 +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
132b961b24
[v0.99][PPC] Fix compilation issues in ppc
2021-08-13 09:40:31 +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
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
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
6e8a9612ad
[v0.98] Fix little bug in get_str_cache_two (spotted by #90 ) and simplfy get_str_cache_one
2021-08-05 16:16:16 +02:00
Dr-Noob
921e815470
[v0.98][PPC] Add part number detection using linux device tree
2021-08-05 10:06:16 +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
18744c69f7
[v0.98][PPC] Dont display name (it was always unknown anyway)
2021-07-31 18:30:31 +02:00
Dr-Noob
135cc9d504
[v0.98][PPC] Basic support for topology detection
2021-07-27 21:34:08 +02:00
Dr-Noob
f4aa335af1
[v0.98][PPC] Start PowerPC port. It just compiles but nothing is displayed
2021-07-27 20:26:17 +02:00
Dr-Noob
9fa7b4ce7f
[v0.97] Use DESTDIR instead of PREFIX in Makefile
2021-04-12 15:47:59 +02:00
Dr-Noob
8abbd8f69f
[v0.96] Fix AMD ASCII art. Add third digit in frequency output
2021-03-31 11:03:54 +02:00
Dr-Noob
01e22b8090
[v0.94] Fix compilation issues
2020-12-01 16:13:38 +01:00
Dr-Noob
37e849978a
[v0.90][ARM] Print right number of cores and frequency for each CPU
2020-11-24 16:17:53 +01:00
Dr-Noob
fbea497740
[v0.89] Change freq from int64 to int32, which fixes a compilation issue. Fix Makefile in Windows
2020-11-24 12:52:42 +01:00
Dr-Noob
8645b54b58
[v0.89][ARM] Separate udev for ARM in a different file, since there are many functions that are ARM only. Refactoring of file reading code
2020-11-24 12:32:38 +01:00
Dr-Noob
685e78f2b7
[v0.88][ARM][BUGFIX] Fix bugs in single CPU SoCs and small bugs related to strings
2020-11-24 10:27:33 +01:00
Dr-Noob
c44a646cd1
[v0.85][ARM] Add SoC field in ARM and remove CPU Name field, which is only valid in x86. Fix Makefile for some strict compilers
2020-11-18 23:22:26 +01:00
Dr-Noob
4f1722ead6
[v0.81][ARM][Refactoring] Refactoring and very basic ARM support
2020-11-05 13:44:46 +01:00