From d17909c82b03ad0427a285c66766421751546c42 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sat, 10 Aug 2019 23:11:21 -0500 Subject: Benchmark: fixes, user_note, verifiable test data * fix zlib display order * fix cryptohash MiB/s calculation * revision and params for other benchmarks * allow attaching user note to bench result with -u * don't inlcude the new result value bits if they are empty/invalid in bench_value_to_str(). bench_value_from_str() doesn't need to be modified. * bench_results: clean old result cpu name for x86 * use problem_marker() from dmi_memory to mark old version bench results * benchmark: verifiable test data size and content - The test data benchmark.data is stored in a file that could be edited to change the size or content. /* to guarantee size */ gchar *get_test_data(gsize min_size); /* to checksum content */ char *md5_digest_str(const char *data, unsigned int len); Signed-off-by: Burt P --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ef4f8a9f..309614f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,6 +173,7 @@ set(MODULE_network_SOURCES ) set(MODULE_benchmark_SOURCES_GTKANY modules/benchmark.c + modules/benchmark/bench_util.c modules/benchmark/blowfish.c modules/benchmark/blowfish2.c modules/benchmark/cryptohash.c @@ -208,6 +209,7 @@ set_source_files_properties( set_source_files_properties( modules/devices/dmi_memory.c # modules/devices/spd-decode.c + hardinfo/problem_marker.c PROPERTIES COMPILE_FLAGS "-std=c99 -Wall -Wextra -Wno-unused-function -Wno-deprecated-declarations -Wno-switch" ) @@ -266,6 +268,8 @@ add_executable(hardinfo hardinfo/hardinfo.c hardinfo/socket.c hardinfo/util.c + hardinfo/gg_key_file_parse_string_as_value.c + hardinfo/problem_marker.c hardinfo/vendor.c hardinfo/info.c hardinfo/cpu_util.c @@ -302,6 +306,8 @@ add_executable(hardinfo hardinfo/hardinfo.c hardinfo/socket.c hardinfo/util.c + hardinfo/gg_key_file_parse_string_as_value.c + hardinfo/problem_marker.c hardinfo/vendor.c hardinfo/info.c hardinfo/cpu_util.c -- cgit v1.2.3