diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-04 08:58:47 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-04 08:58:47 +0200 |
| commit | 32009294d2de3e197c8d4dc950559ff948ea2fc9 (patch) | |
| tree | ac297be7b6e218ee8ae21367c94c8b65297fe2ca /tools/000_gendata/gendata.c | |
| parent | 757a732336ee5f0f4b0ba44ac138210c2c1ef805 (diff) | |
| download | nissy-core-32009294d2de3e197c8d4dc950559ff948ea2fc9.tar.gz nissy-core-32009294d2de3e197c8d4dc950559ff948ea2fc9.zip | |
Clean up tool output
Diffstat (limited to 'tools/000_gendata/gendata.c')
| -rw-r--r-- | tools/000_gendata/gendata.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/000_gendata/gendata.c b/tools/000_gendata/gendata.c index 90166dd..9533432 100644 --- a/tools/000_gendata/gendata.c +++ b/tools/000_gendata/gendata.c | |||
| @@ -32,7 +32,6 @@ gendata_run_finish: | |||
| 32 | 32 | ||
| 33 | int main(int argc, char **argv) { | 33 | int main(int argc, char **argv) { |
| 34 | uint8_t h, k; | 34 | uint8_t h, k; |
| 35 | char description[256]; | ||
| 36 | 35 | ||
| 37 | if (argc < 3) { | 36 | if (argc < 3) { |
| 38 | fprintf(stderr, "Error: not enough arguments. " | 37 | fprintf(stderr, "Error: not enough arguments. " |
| @@ -44,12 +43,10 @@ int main(int argc, char **argv) { | |||
| 44 | options = argv[2]; | 43 | options = argv[2]; |
| 45 | parse_h48_options(options, &h, &k, NULL); | 44 | parse_h48_options(options, &h, &k, NULL); |
| 46 | expected = expected_h48[h][k]; | 45 | expected = expected_h48[h][k]; |
| 47 | sprintf(description, "benchmark gendata_h48 h = %" PRIu8 | ||
| 48 | ", k = %" PRIu8 "", h, k); | ||
| 49 | 46 | ||
| 50 | nissy_setlogger(log_stderr); | 47 | nissy_setlogger(log_stderr); |
| 51 | 48 | ||
| 52 | timerun(run, description); | 49 | timerun(run); |
| 53 | 50 | ||
| 54 | return 0; | 51 | return 0; |
| 55 | } | 52 | } |
