feat update log
This commit is contained in:
parent
234b57fae4
commit
6f5cb359b6
@ -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) {
|
for (int i = std::min(step_count, step / 10); i > 0 && cur_mask < last_mask; --i) {
|
||||||
cur_mask = next_bit_permutation(cur_mask);
|
cur_mask = next_bit_permutation(cur_mask);
|
||||||
if (cnt.fetch_add(1) % 10000000 == 0) {
|
if (cnt.fetch_add(1) % 10000000 == 0) {
|
||||||
fprintf(stderr, "cnt : %ld, step_count: %5ld, cur_pos: %5ld progress: %ld\n",
|
fprintf(stderr, "cnt : %ld, step_count: %5ld, base_pos: %5ld progress: %ld\n",
|
||||||
cnt.load(std::memory_order_relaxed), step_count, g_cur_pos.load(), progress.load());
|
cnt.load(std::memory_order_relaxed), step_count, g_base_pos.load(),
|
||||||
|
progress.load());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user