Increased RRT graph range, for new improved statistics.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6788 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2013-10-02 03:22:43 +00:00
parent b587301b5a
commit a455bcc5d2

View File

@ -323,7 +323,19 @@ void RttStatisticsWidget::updateRttStatistics(const std::map<std::string, std::l
// round up RTT to nearest // round up RTT to nearest
double roundedRTT = maxRTT; double roundedRTT = maxRTT;
if (maxRTT < 0.15) if (maxRTT < 0.018)
{
roundedRTT = 0.02;
}
else if (maxRTT < 0.045)
{
roundedRTT = 0.05;
}
else if (maxRTT < 0.09)
{
roundedRTT = 0.1;
}
else if (maxRTT < 0.18)
{ {
roundedRTT = 0.2; roundedRTT = 0.2;
} }