diff options
author | Burt P <pburt0@gmail.com> | 2019-08-10 23:11:21 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2019-08-14 20:02:42 -0700 |
commit | d17909c82b03ad0427a285c66766421751546c42 (patch) | |
tree | 485588a0822984d437fcd22ed9f23f441760ca72 /hardinfo/info.c | |
parent | 30508a10bf269e5ca06226fb50c86f5249cc746a (diff) |
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 <pburt0@gmail.com>
Diffstat (limited to 'hardinfo/info.c')
-rw-r--r-- | hardinfo/info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo/info.c b/hardinfo/info.c index cf6af9f9..5f108814 100644 --- a/hardinfo/info.c +++ b/hardinfo/info.c @@ -23,7 +23,7 @@ * from GLib in flatten(), to escape characters and the separator. * The function is not public in GLib and we don't have a GKeyFile * to pass it anyway. */ -#include "gg_key_file_parse_string_as_value.c" +/* Now in hardinfo.h -- #include "gg_key_file_parse_string_as_value.c" */ static const gchar *info_column_titles[] = { "TextValue", "Value", "Progress", "Extra1", "Extra2" |