Cleanups.

This commit is contained in:
JoelKatz
2013-03-03 23:52:13 -08:00
parent a96676f122
commit df9884f48e

View File

@@ -2561,7 +2561,8 @@ int iPass = 0;
++iDry; ++iDry;
} }
else { else
{
tLog(!pspCur->saInPass || !pspCur->saOutPass, lsDEBUG) tLog(!pspCur->saInPass || !pspCur->saOutPass, lsDEBUG)
<< boost::str(boost::format("rippleCalc: better: uQuality=%s saInPass=%s saOutPass=%s") << boost::str(boost::format("rippleCalc: better: uQuality=%s saInPass=%s saOutPass=%s")
% STAmount::saFromRate(pspCur->uQuality) % STAmount::saFromRate(pspCur->uQuality)
@@ -2587,6 +2588,8 @@ int iPass = 0;
} }
} }
} }
if (sLog(lsDEBUG))
{
cLog(lsDEBUG) << boost::str(boost::format("rippleCalc: Summary: Pass: %d Dry: %d Paths: %d") % ++iPass % iDry % vpsExpanded.size()); cLog(lsDEBUG) << boost::str(boost::format("rippleCalc: Summary: Pass: %d Dry: %d Paths: %d") % ++iPass % iDry % vpsExpanded.size());
BOOST_FOREACH(PathState::ref pspCur, vpsExpanded) BOOST_FOREACH(PathState::ref pspCur, vpsExpanded)
{ {
@@ -2597,6 +2600,7 @@ cLog(lsDEBUG) << boost::str(boost::format("rippleCalc: Summary: %d rate: %s qual
% (iBest == pspCur->getIndex()) % (iBest == pspCur->getIndex())
% pspCur->bConsumed); % pspCur->bConsumed);
} }
}
if (iBest >= 0) if (iBest >= 0)
{ {