mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +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
					
				
					 1 changed files with 19 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -67,25 +67,27 @@ static void display_statistics(
 | 
			
		|||
        p.set_uint("profile_milliseconds_threshold", 100);
 | 
			
		||||
        ctx.updt_params(p);
 | 
			
		||||
 | 
			
		||||
        out << "--------------\n";
 | 
			
		||||
        out << "original rules\n";
 | 
			
		||||
        orig_rules.display(out);
 | 
			
		||||
        IF_VERBOSE(2, 
 | 
			
		||||
                   out << "--------------\n";
 | 
			
		||||
                   out << "original rules\n";
 | 
			
		||||
                   orig_rules.display(out);
 | 
			
		||||
                   
 | 
			
		||||
                   out << "---------------\n";
 | 
			
		||||
                   out << "generated rules\n";
 | 
			
		||||
                   ctx.display_rules(out);
 | 
			
		||||
 | 
			
		||||
        out << "---------------\n";
 | 
			
		||||
        out << "generated rules\n";
 | 
			
		||||
        ctx.display_rules(out);
 | 
			
		||||
 | 
			
		||||
        out << "--------------\n";
 | 
			
		||||
        out << "instructions  \n";
 | 
			
		||||
        code.display(ex_ctx, out);
 | 
			
		||||
 | 
			
		||||
        out << "--------------\n";
 | 
			
		||||
        out << "big relations \n";
 | 
			
		||||
        ex_ctx.report_big_relations(1000, out);
 | 
			
		||||
                   out << "--------------\n";
 | 
			
		||||
                   out << "instructions  \n";
 | 
			
		||||
                   code.display(ex_ctx, out);
 | 
			
		||||
                   
 | 
			
		||||
                   out << "--------------\n";
 | 
			
		||||
                   out << "big relations \n";
 | 
			
		||||
                   ex_ctx.report_big_relations(1000, out););
 | 
			
		||||
    }
 | 
			
		||||
    out << "--------------\n";
 | 
			
		||||
    out << "relation sizes\n";
 | 
			
		||||
    ctx.get_rel_context()->get_rmanager().display_relation_sizes(out);
 | 
			
		||||
    IF_VERBOSE(2, 
 | 
			
		||||
               out << "--------------\n";
 | 
			
		||||
               out << "relation sizes\n";
 | 
			
		||||
               ctx.get_rel_context()->get_rmanager().display_relation_sizes(out););
 | 
			
		||||
 | 
			
		||||
    if (verbose) {
 | 
			
		||||
        out << "--------------\n";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue