From: mtk Date: Wed, 30 Sep 2009 08:58:48 +0000 (+0000) Subject: remove the '+/-' until someone formats the outpur in a nicer way X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=f37680c43dd9aab620388e9b966ed2328c56a15e;p=senf.git remove the '+/-' until someone formats the outpur in a nicer way git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1467 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Utils/Statistics.cc b/senf/Utils/Statistics.cc index b9956fb..7506e07 100644 --- a/senf/Utils/Statistics.cc +++ b/senf/Utils/Statistics.cc @@ -122,7 +122,7 @@ std::string format_eng( float f) prefix_ void senf::StatisticsBase::consoleList(unsigned level, std::ostream & os) const { - os << boost::format("%s%-5d%|15t| %12s %12s+/-%12s %12s\n") + os << boost::format("%s%-5d%|15t| %12s %12s %12s %12s\n") % std::string(2*level,' ') % rank() % format_eng(min()) @@ -133,7 +133,7 @@ prefix_ void senf::StatisticsBase::consoleList(unsigned level, std::ostream & os OutputMap::const_iterator i (outputs_.begin()); OutputMap::const_iterator i_end (outputs_.end()); for (; i != i_end; ++i) - os << boost::format(" %3d %12s %12s+/-%12s %12s\n") + os << boost::format(" %3d %12s %12s %12s %12s\n") % i->second.n % format_eng(i->second.min/i->second.n) % format_eng(i->second.avg/i->second.n)