mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
b587301b5a
commit
a455bcc5d2
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user