Quitened down timing stats

This commit is contained in:
Robert Osfield
2011-03-09 17:35:30 +00:00
parent 6c9733f96a
commit fe149c583a
2 changed files with 1 additions and 3 deletions

View File

@@ -83,8 +83,6 @@ CostPair GeometryCostEstimator::estimateCompileCost(const osg::Geometry* geometr
cost.first = _displayListCompileConstant + _displayListCompileFactor * cost.first ;
}
OSG_NOTICE<<"GeometryCostEstimator::estimateCompileCost(..) size="<<cost.first<<std::endl;
return cost;
}
else

View File

@@ -339,7 +339,7 @@ double IncrementalCompileOperation::CompileList::estimatedTimeForCompile(Compile
bool IncrementalCompileOperation::CompileList::compile(CompileInfo& compileInfo)
{
#define USE_TIME_ESTIMATES
//#define USE_TIME_ESTIMATES
for(CompileOps::iterator itr = _compileOps.begin();
itr != _compileOps.end() && compileInfo.availableTime()>0.0 && compileInfo.maxNumObjectsToCompile>0;