summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-07-05 14:44:14 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-07-05 14:44:14 -0700
commitb2da2c3dc7a1b1ba2b44f51e5ef37d06c846a945 (patch)
treec103ec50279bec02fccf3aa8702fe4a4cc4e600f /src
parent8b0302cdab633f6ba6b5e317e58212cb4f94c493 (diff)
downloadabc-b2da2c3dc7a1b1ba2b44f51e5ef37d06c846a945.tar.gz
abc-b2da2c3dc7a1b1ba2b44f51e5ef37d06c846a945.tar.bz2
abc-b2da2c3dc7a1b1ba2b44f51e5ef37d06c846a945.zip
Other improvements to &vta and &gla.
Diffstat (limited to 'src')
-rw-r--r--src/aig/gia/giaAbsGla.c19
-rw-r--r--src/aig/gia/giaAbsVta.c17
2 files changed, 21 insertions, 15 deletions
diff --git a/src/aig/gia/giaAbsGla.c b/src/aig/gia/giaAbsGla.c
index f6ada0c8..cdfc7712 100644
--- a/src/aig/gia/giaAbsGla.c
+++ b/src/aig/gia/giaAbsGla.c
@@ -1925,14 +1925,17 @@ finish:
p->pPars->iFrame = pCex->iFrame - 1;
}
Abc_PrintTime( 1, "Time", clock() - clk );
- p->timeOther = (clock() - clk) - p->timeUnsat - p->timeSat - p->timeCex - p->timeInit;
- ABC_PRTP( "Runtime: Initializing", p->timeInit, clock() - clk );
- ABC_PRTP( "Runtime: Solver UNSAT", p->timeUnsat, clock() - clk );
- ABC_PRTP( "Runtime: Solver SAT ", p->timeSat, clock() - clk );
- ABC_PRTP( "Runtime: Refinement ", p->timeCex, clock() - clk );
- ABC_PRTP( "Runtime: Other ", p->timeOther, clock() - clk );
- ABC_PRTP( "Runtime: TOTAL ", clock() - clk, clock() - clk );
- Gla_ManReportMemory( p );
+ if ( p->pPars->fVerbose )
+ {
+ p->timeOther = (clock() - clk) - p->timeUnsat - p->timeSat - p->timeCex - p->timeInit;
+ ABC_PRTP( "Runtime: Initializing", p->timeInit, clock() - clk );
+ ABC_PRTP( "Runtime: Solver UNSAT", p->timeUnsat, clock() - clk );
+ ABC_PRTP( "Runtime: Solver SAT ", p->timeSat, clock() - clk );
+ ABC_PRTP( "Runtime: Refinement ", p->timeCex, clock() - clk );
+ ABC_PRTP( "Runtime: Other ", p->timeOther, clock() - clk );
+ ABC_PRTP( "Runtime: TOTAL ", clock() - clk, clock() - clk );
+ Gla_ManReportMemory( p );
+ }
Gla_ManStop( p );
fflush( stdout );
return RetValue;
diff --git a/src/aig/gia/giaAbsVta.c b/src/aig/gia/giaAbsVta.c
index 1a442a79..e762c112 100644
--- a/src/aig/gia/giaAbsVta.c
+++ b/src/aig/gia/giaAbsVta.c
@@ -1816,13 +1816,16 @@ finish:
}
Abc_PrintTime( 1, "Time", clock() - clk );
- p->timeOther = (clock() - clk) - p->timeUnsat - p->timeSat - p->timeCex;
- ABC_PRTP( "Runtime: Solver UNSAT", p->timeUnsat, clock() - clk );
- ABC_PRTP( "Runtime: Solver SAT ", p->timeSat, clock() - clk );
- ABC_PRTP( "Runtime: Refinement ", p->timeCex, clock() - clk );
- ABC_PRTP( "Runtime: Other ", p->timeOther, clock() - clk );
- ABC_PRTP( "Runtime: TOTAL ", clock() - clk, clock() - clk );
- Gia_VtaPrintMemory( p );
+ if ( p->pPars->fVerbose )
+ {
+ p->timeOther = (clock() - clk) - p->timeUnsat - p->timeSat - p->timeCex;
+ ABC_PRTP( "Runtime: Solver UNSAT", p->timeUnsat, clock() - clk );
+ ABC_PRTP( "Runtime: Solver SAT ", p->timeSat, clock() - clk );
+ ABC_PRTP( "Runtime: Refinement ", p->timeCex, clock() - clk );
+ ABC_PRTP( "Runtime: Other ", p->timeOther, clock() - clk );
+ ABC_PRTP( "Runtime: TOTAL ", clock() - clk, clock() - clk );
+ Gia_VtaPrintMemory( p );
+ }
Vga_ManStop( p );
fflush( stdout );