summaryrefslogtreecommitdiff
path: root/modules/devices/parisc/processor.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-08-10 22:54:33 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2017-08-11 02:52:21 -0700
commitecdc375c54201be5776ce93d665ee77f74b1167a (patch)
treee7f1354d5587a58306a41ecd2b2f73b40e11f2f0 /modules/devices/parisc/processor.c
parent242cf8f80c05d655c3ae6ce22ec3751668b11895 (diff)
CPU Frequency Desc and benchmark result re-format
Current CPU configurations aren't properly represented in Hardinfo. For SMT, each hardware thread is still reported as a CPU. Clusters with different CPU clock rates are not reported. It is common for ARM to pair a cluster of fast cores with a cluster of slower, but more power-efficient cores. These changes attempt to address this. The getProcessorFrequency method now returns the processor's max frequency for all its cores. While the new getProcessorFrequencyDesc lists each unique frequency with a prefix Nx with the count of cores at that freqency. Benchmark results have been reformated to use the de-prefixed getProcessorName and getProcessorFrequencyDesc. As an example from benchmark.conf: 4x AMD Phenom(tm) II X4 940 Processor | 800 MHz becomes: AMD Phenom(tm) II X4 940 Processor | 4x 800 MHz Which, I think, makes much more sense, as it works well with this kind of thing: Qualcomm Snapdragon 691 | 4x 1400 MHz + 4x 800 MHz Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices/parisc/processor.c')
0 files changed, 0 insertions, 0 deletions