mirror of https://github.com/YosysHQ/abc.git
Debugging a proof error.
This commit is contained in:
parent
da525b2a23
commit
3fb103dadc
|
|
@ -154,6 +154,25 @@ static inline void Vec_SetRestart( Vec_Set_t * p )
|
||||||
Vec_SetWriteLimit( p->pPages[0], 2 );
|
Vec_SetWriteLimit( p->pPages[0], 2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**Function*************************************************************
|
||||||
|
|
||||||
|
Synopsis [Returns memory in bytes occupied by the vector.]
|
||||||
|
|
||||||
|
Description []
|
||||||
|
|
||||||
|
SideEffects []
|
||||||
|
|
||||||
|
SeeAlso []
|
||||||
|
|
||||||
|
***********************************************************************/
|
||||||
|
static inline double Vec_ReportMemory( Vec_Set_t * p )
|
||||||
|
{
|
||||||
|
double Mem = sizeof(Vec_Set_t);
|
||||||
|
Mem += p->nPagesAlloc * sizeof(void *);
|
||||||
|
Mem += sizeof(word) * (1 << p->nPageSize) * (1 + p->iPage);
|
||||||
|
return Mem;
|
||||||
|
}
|
||||||
|
|
||||||
/**Function*************************************************************
|
/**Function*************************************************************
|
||||||
|
|
||||||
Synopsis [Freeing vector.]
|
Synopsis [Freeing vector.]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue