Add a verbose option to ToolEngine, don't always display infos.
This commit is contained in:
parent
23c0c24c0f
commit
5afb4cabe9
|
@ -191,8 +191,9 @@ namespace CRL {
|
|||
bool ToolEngine::_inDestroyAll = false;
|
||||
|
||||
|
||||
ToolEngine::ToolEngine ( Cell* cell )
|
||||
ToolEngine::ToolEngine ( Cell* cell, bool verbose )
|
||||
: Super()
|
||||
, _verbose (verbose)
|
||||
, _cell (cell)
|
||||
, _placementModificationFlag(0)
|
||||
, _routingModificationFlag (0)
|
||||
|
@ -219,11 +220,13 @@ namespace CRL {
|
|||
|
||||
put( enginesRelation );
|
||||
|
||||
cmess1 << " o Creating ToolEngine<" << getName() << "> for Cell <"
|
||||
<< _cell->getName() << ">" << endl;
|
||||
|
||||
cmess1 << Dots::asString( " - Initial memory"
|
||||
, Timer::getStringMemory(Timer::getMemorySize()) ) << endl;
|
||||
if (_verbose) {
|
||||
cmess1 << " o Creating ToolEngine<" << getName() << "> for Cell <"
|
||||
<< _cell->getName() << ">" << endl;
|
||||
|
||||
cmess1 << Dots::asString( " - Initial memory"
|
||||
, Timer::getStringMemory(Timer::getMemorySize()) ) << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -81,13 +81,14 @@ namespace CRL {
|
|||
protected:
|
||||
Cell* _cell;
|
||||
private:
|
||||
bool _verbose;
|
||||
unsigned int _placementModificationFlag;
|
||||
unsigned int _routingModificationFlag;
|
||||
bool _inRelationDestroy;
|
||||
Timer _timer;
|
||||
uint32_t _passNumber;
|
||||
protected:
|
||||
ToolEngine ( Cell* cell );
|
||||
ToolEngine ( Cell* cell, bool verbose=true );
|
||||
virtual void _postCreate ();
|
||||
virtual void _preDestroy ();
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue