aboutsummaryrefslogtreecommitdiff
path: root/tools/200_stats_tables_h48
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-18 16:35:17 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-18 16:35:17 +0200
commit5216fb4be01e88f5b4928a69287e8f7ee3b3af5b (patch)
tree24aa57a0e34c49e0e6307caf8cf830f8dd26ed49 /tools/200_stats_tables_h48
parent3d6c73c33276ecedba86cb871b4b5a089571629b (diff)
downloadnissy-core-5216fb4be01e88f5b4928a69287e8f7ee3b3af5b.tar.gz
nissy-core-5216fb4be01e88f5b4928a69287e8f7ee3b3af5b.zip
Add node and fallback benchmarking
Diffstat (limited to 'tools/200_stats_tables_h48')
-rw-r--r--tools/200_stats_tables_h48/stats_tables_h48.c4
1 files changed, 2 insertions, 2 deletions
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 *
30run_thread(void *arg) 30run_thread(void *arg)
31{ 31{
32 char s[12], cube[22]; 32 char s[12], cube[22];
33 long long int ep, eo, cp, co; 33 long long int ep, eo, cp, co, stats[NISSY_SIZE_SOLVE_STATS];
34 int i, j; 34 int i, j;
35 35
36 thread_arg_t *a = (thread_arg_t *)arg; 36 thread_arg_t *a = (thread_arg_t *)arg;
@@ -42,7 +42,7 @@ run_thread(void *arg)
42 co = randll(); 42 co = randll();
43 nissy_getcube(ep, eo, cp, co, "fix", cube); 43 nissy_getcube(ep, eo, cp, co, "fix", cube);
44 nissy_solve(cube, "h48stats", NISSY_NISSFLAG_NORMAL, 44 nissy_solve(cube, "h48stats", NISSY_NISSFLAG_NORMAL,
45 0, MAXMOVES, 1, -1, size, buf, 12, s); 45 0, MAXMOVES, 1, -1, size, buf, 12, s, stats);
46 for (j = 0; j < 12; j++) 46 for (j = 0; j < 12; j++)
47 a->v[j][(int)s[j]]++; 47 a->v[j][(int)s[j]]++;
48 if ((i+1) % LOG_EVERY == 0) 48 if ((i+1) % LOG_EVERY == 0)

Generated with cgit - Back to sebastiano.tronto.net