diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-08-30 16:39:38 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-08-30 16:41:03 +0200 |
| commit | eb20084ec94e9043e55a98717128a4ba1e6215cb (patch) | |
| tree | c085aa9cd24eda1608f9204289cbeb0a64ed87e3 /src/solvers | |
| parent | 470c10c18da2b589e4ba2fe23135ab6ded5f4509 (diff) | |
| download | nissy-core-eb20084ec94e9043e55a98717128a4ba1e6215cb.tar.gz nissy-core-eb20084ec94e9043e55a98717128a4ba1e6215cb.zip | |
Added log message for table generation
Diffstat (limited to 'src/solvers')
| -rw-r--r-- | src/solvers/h48/gendata_h48.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index fb9a191..6486834 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h | |||
| @@ -304,7 +304,7 @@ gendata_h48k2(gendata_h48_arg_t *arg) | |||
| 304 | 304 | ||
| 305 | uint8_t t; | 305 | uint8_t t; |
| 306 | int64_t j; | 306 | int64_t j; |
| 307 | uint64_t nshort, i; | 307 | uint64_t nshort, i, ii; |
| 308 | h48map_t shortcubes; | 308 | h48map_t shortcubes; |
| 309 | kvpair_t kv; | 309 | kvpair_t kv; |
| 310 | gendata_h48short_arg_t shortarg; | 310 | gendata_h48short_arg_t shortarg; |
| @@ -339,13 +339,15 @@ gendata_h48k2(gendata_h48_arg_t *arg) | |||
| 339 | .shortcubes = &shortcubes | 339 | .shortcubes = &shortcubes |
| 340 | }; | 340 | }; |
| 341 | 341 | ||
| 342 | i = 0; | 342 | i = ii = 0; |
| 343 | for (kv = h48map_nextkvpair(&shortcubes, &i); | 343 | for (kv = h48map_nextkvpair(&shortcubes, &i); |
| 344 | i != shortcubes.capacity; | 344 | i != shortcubes.capacity; |
| 345 | kv = h48map_nextkvpair(&shortcubes, &i) | 345 | kv = h48map_nextkvpair(&shortcubes, &i) |
| 346 | ) { | 346 | ) { |
| 347 | dfsarg.cube = invcoord_h48(kv.key, arg->crep, 11); | 347 | dfsarg.cube = invcoord_h48(kv.key, arg->crep, 11); |
| 348 | gendata_h48k2_dfs(&dfsarg); | 348 | gendata_h48k2_dfs(&dfsarg); |
| 349 | if (++i % UINT64_C(1000000) == 0) | ||
| 350 | LOG("Processed %" PRIu64 " short cubes\n", ii); | ||
| 349 | } | 351 | } |
| 350 | 352 | ||
| 351 | h48map_destroy(&shortcubes); | 353 | h48map_destroy(&shortcubes); |
