diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-18 18:36:02 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-18 18:36:02 +0200 |
| commit | 9f3fde47cd1a5a8881f7cbcf15218f2c3c875341 (patch) | |
| tree | 132165637b2e26d53216b823e23ec62e19376237 /tools/0022_gendata_h48h2k2 | |
| parent | 89173fe1a7e839191a92ab82f79b42af46b1f9bc (diff) | |
| download | nissy-core-9f3fde47cd1a5a8881f7cbcf15218f2c3c875341.tar.gz nissy-core-9f3fde47cd1a5a8881f7cbcf15218f2c3c875341.zip | |
Added gendata for all table sizes (k=2)
Diffstat (limited to 'tools/0022_gendata_h48h2k2')
| -rw-r--r-- | tools/0022_gendata_h48h2k2/gendata_h48h2k2.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/0022_gendata_h48h2k2/gendata_h48h2k2.c b/tools/0022_gendata_h48h2k2/gendata_h48h2k2.c new file mode 100644 index 0000000..f437e98 --- /dev/null +++ b/tools/0022_gendata_h48h2k2/gendata_h48h2k2.c | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | #include "../tool.h" | ||
| 2 | |||
| 3 | uint64_t expected[21] = { | ||
| 4 | /* Base value is 8 */ | ||
| 5 | [0] = 0, /* Unknown */ | ||
| 6 | [1] = 0, /* Unknown */ | ||
| 7 | [2] = 0, /* Unknown */ | ||
| 8 | [3] = 0, /* Unknown */ | ||
| 9 | }; | ||
| 10 | |||
| 11 | void run(void) { | ||
| 12 | gendata_run("h48", "2;2;20", "tables/h48h2k2", expected); | ||
| 13 | } | ||
| 14 | |||
| 15 | int main(void) { | ||
| 16 | nissy_setlogger(log_stderr); | ||
| 17 | |||
| 18 | timerun(run, "benchmark gendata_h48 h = 2, k = 2"); | ||
| 19 | |||
| 20 | return 0; | ||
| 21 | } | ||
