mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
guard verbose output by verbosity level for datalog command-line tool
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7f29674842
commit
cda967ead2
|
@ -67,25 +67,27 @@ static void display_statistics(
|
||||||
p.set_uint("profile_milliseconds_threshold", 100);
|
p.set_uint("profile_milliseconds_threshold", 100);
|
||||||
ctx.updt_params(p);
|
ctx.updt_params(p);
|
||||||
|
|
||||||
out << "--------------\n";
|
IF_VERBOSE(2,
|
||||||
out << "original rules\n";
|
out << "--------------\n";
|
||||||
orig_rules.display(out);
|
out << "original rules\n";
|
||||||
|
orig_rules.display(out);
|
||||||
|
|
||||||
|
out << "---------------\n";
|
||||||
|
out << "generated rules\n";
|
||||||
|
ctx.display_rules(out);
|
||||||
|
|
||||||
out << "---------------\n";
|
out << "--------------\n";
|
||||||
out << "generated rules\n";
|
out << "instructions \n";
|
||||||
ctx.display_rules(out);
|
code.display(ex_ctx, out);
|
||||||
|
|
||||||
out << "--------------\n";
|
out << "--------------\n";
|
||||||
out << "instructions \n";
|
out << "big relations \n";
|
||||||
code.display(ex_ctx, out);
|
ex_ctx.report_big_relations(1000, out););
|
||||||
|
|
||||||
out << "--------------\n";
|
|
||||||
out << "big relations \n";
|
|
||||||
ex_ctx.report_big_relations(1000, out);
|
|
||||||
}
|
}
|
||||||
out << "--------------\n";
|
IF_VERBOSE(2,
|
||||||
out << "relation sizes\n";
|
out << "--------------\n";
|
||||||
ctx.get_rel_context()->get_rmanager().display_relation_sizes(out);
|
out << "relation sizes\n";
|
||||||
|
ctx.get_rel_context()->get_rmanager().display_relation_sizes(out););
|
||||||
|
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
out << "--------------\n";
|
out << "--------------\n";
|
||||||
|
|
Loading…
Reference in a new issue