summaryrefslogtreecommitdiffstats
path: root/src/map/if/ifMan.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-03-20 11:21:33 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-03-20 11:21:33 -0700
commitb581e16f32cd1ad68a65fd94d9f2b997da443721 (patch)
tree60550ee6a2254498f8e38b71b8f4347d8f0c5b1f /src/map/if/ifMan.c
parentd44d9e292788efa2d933ffdeeaa058e4bc416e90 (diff)
downloadabc-b581e16f32cd1ad68a65fd94d9f2b997da443721.tar.gz
abc-b581e16f32cd1ad68a65fd94d9f2b997da443721.tar.bz2
abc-b581e16f32cd1ad68a65fd94d9f2b997da443721.zip
Experiments with cut caching.
Diffstat (limited to 'src/map/if/ifMan.c')
-rw-r--r--src/map/if/ifMan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/if/ifMan.c b/src/map/if/ifMan.c
index 686af7ae..a822f0bb 100644
--- a/src/map/if/ifMan.c
+++ b/src/map/if/ifMan.c
@@ -141,6 +141,9 @@ void If_ManRestart( If_Man_t * p )
***********************************************************************/
void If_ManStop( If_Man_t * p )
{
+ extern void If_ManCacheAnalize( If_Man_t * p );
+ if ( p->pPars->fVerbose && p->vCutData )
+ If_ManCacheAnalize( p );
/*
if ( p->pIfDsdMan )
{
@@ -190,6 +193,7 @@ void If_ManStop( If_Man_t * p )
Vec_IntFreeP( &p->vLags );
Vec_IntFreeP( &p->vTtDsds );
Vec_StrFreeP( &p->vTtPerms );
+ Vec_IntFreeP( &p->vCutData );
Vec_MemHashFree( p->vTtMem );
Vec_MemFreeP( &p->vTtMem );
Mem_FixedStop( p->pMemObj, 0 );