From 6f5cb359b644398a0fcc74e4d4220aafecb4439c Mon Sep 17 00:00:00 2001 From: tqcq Date: Sat, 26 Oct 2024 12:31:26 +0000 Subject: [PATCH] feat update log --- drama/src/rev-mc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drama/src/rev-mc.c b/drama/src/rev-mc.c index 3f225f4..2e04d8c 100644 --- a/drama/src/rev-mc.c +++ b/drama/src/rev-mc.c @@ -361,8 +361,9 @@ find_row_mask(std::vector &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()); } }