From 5216fb4be01e88f5b4928a69287e8f7ee3b3af5b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 18 Oct 2024 16:35:17 +0200 Subject: Add node and fallback benchmarking --- tools/200_stats_tables_h48/stats_tables_h48.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/200_stats_tables_h48') diff --git a/tools/200_stats_tables_h48/stats_tables_h48.c b/tools/200_stats_tables_h48/stats_tables_h48.c index 8e80269..bdf6329 100644 --- a/tools/200_stats_tables_h48/stats_tables_h48.c +++ b/tools/200_stats_tables_h48/stats_tables_h48.c @@ -30,7 +30,7 @@ static void * run_thread(void *arg) { char s[12], cube[22]; - long long int ep, eo, cp, co; + long long int ep, eo, cp, co, stats[NISSY_SIZE_SOLVE_STATS]; int i, j; thread_arg_t *a = (thread_arg_t *)arg; @@ -42,7 +42,7 @@ run_thread(void *arg) co = randll(); nissy_getcube(ep, eo, cp, co, "fix", cube); nissy_solve(cube, "h48stats", NISSY_NISSFLAG_NORMAL, - 0, MAXMOVES, 1, -1, size, buf, 12, s); + 0, MAXMOVES, 1, -1, size, buf, 12, s, stats); for (j = 0; j < 12; j++) a->v[j][(int)s[j]]++; if ((i+1) % LOG_EVERY == 0) -- cgit v1.3