feat update log

This commit is contained in:
tqcq 2024-10-26 12:31:26 +00:00
parent 234b57fae4
commit 6f5cb359b6

View File

@ -361,8 +361,9 @@ find_row_mask(std::vector<set_t> &sets,
for (int i = std::min(step_count, step / 10); i > 0 && cur_mask < last_mask; --i) {
cur_mask = next_bit_permutation(cur_mask);
if (cnt.fetch_add(1) % 10000000 == 0) {
fprintf(stderr, "cnt : %ld, step_count: %5ld, cur_pos: %5ld progress: %ld\n",
cnt.load(std::memory_order_relaxed), step_count, g_cur_pos.load(), progress.load());
fprintf(stderr, "cnt : %ld, step_count: %5ld, base_pos: %5ld progress: %ld\n",
cnt.load(std::memory_order_relaxed), step_count, g_base_pos.load(),
progress.load());
}
}