Skip to content

Commit b9daaac

Browse files
committed
report=1 only by default
1 parent 0915677 commit b9daaac

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
06k
1+
06l

options.h

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ OPTION (bool, random_order, 0, 0, 1, "initial random decision o
7676
OPTION (unsigned, reduce_interval, 1e3, 1, INF, "reduce base conflict interval") \
7777
OPTION (bool, rephase, 1, 0, 1, "reset saved phases regularly") \
7878
OPTION (unsigned, rephase_interval, 1e3, 1, INF, "base rephase conflict interval") \
79+
OPTION (unsigned, report, 1, 0, INF, "report details for many threads") \
7980
OPTION (bool, share_learned, 1, 0, 1, "export and import learned clauses") \
8081
OPTION (bool, shrink, 1, 0, 1, "shrink (glue 1) learned clauses") \
8182
OPTION (bool, simplify, 1, 0, 1, "elimination, subsumption and substitution") \

report.c

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ verbose_report (struct ring *ring, char type, int level)
2020
if (verbosity < level)
2121
return;
2222

23+
if (ring->options.report < ring->id)
24+
return;
25+
2326
struct ring_statistics *s = &ring->statistics;
2427
struct averages *a = ring->averages + ring->stable;
2528

vivify.c

-12
Original file line numberDiff line numberDiff line change
@@ -314,20 +314,8 @@ vivify_deduce (struct vivifier * vivifier,
314314
assert (EMPTY (*ring_clause));
315315
if (implied != INVALID)
316316
{
317-
#if 0
318-
struct watch * reason = VAR (implied)->reason;
319-
if (is_binary_pointer (reason))
320-
assert (lit_pointer (reason) == implied);
321-
#endif
322317
for (all_watches (watch, REFERENCES (implied)))
323318
{
324-
#if 0
325-
if (watch == reason)
326-
{
327-
reason = 0;
328-
continue;
329-
}
330-
#endif
331319
if (is_binary_pointer (watch))
332320
{
333321
assert (lit_pointer (watch) == implied);

0 commit comments

Comments
 (0)