aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark.c
AgeCommit message (Collapse)Author
2017-08-11CPU Frequency Desc and benchmark result re-formatBurt P
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>
2017-08-04benchmarks: hide gui bench for gtk3+Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30benchmark.c: break column headers out of format stringsBurt P
* More easily translated. * The strings are more likely to be re-usable. * A small change to one, or to a shell param, does not lose all of them. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-03Use file-roller icon for Zlib benchmarkLeandro Pereira
2017-07-02Add zlib benchmarkLeandro Pereira
2017-04-10Fixed compile warning in benchmark.cTotalCaesar659
There was compile warning in benchmark.c: Scanning dependencies of target benchmark [ 48%] Building C object CMakeFiles/benchmark.dir/modules/benchmark.c.o /home/maxpayne/hardinfo/modules/benchmark.c: In function ‘get_benchmark_results’: /home/maxpayne/hardinfo/modules/benchmark.c:565:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] gchar *result = g_strdup_printf("[param]\n" ^ [ 50%] Building C object CMakeFiles/benchmark.dir/modules/benchmark/blowfish.c.o
2016-12-30Fix compile warnings in benchmark.cLeandro Pereira
2016-07-30Fix off-by-one error while scanning benchmarksLeandro Pereira
2014-01-03Add initial translation support (patch from rodin.s)Julien Lavergne
2012-01-27Fix weird results in benchmark valuesLeandro Pereira
gcc was (correctly) assuming that benchmark_parallel_for() returned an integer, which was being to a double and messing up results. Added the missing prototype. Also, populate bench_results array with sane values on module init. Some other minor cleanups in benchmark code.
2012-01-27Remove "lib" prefix from modulesLeandro Pereira
2010-08-15Fix potential problems found by clang static analyzer.Leandro Pereira
2010-05-03Remove outdated arch directoryLeandro A. F. Pereira
2010-05-03Move files from hardinfo2 to root.Leandro A. F. Pereira