Eliminate 'max' throttle setting from server throttles report since this never applies.

mb-throttle-test
Justin Clark-Casey (justincc) 2014-10-07 00:08:44 +01:00
parent 679eaec22f
commit 10d09e287c
1 changed files with 4 additions and 9 deletions

View File

@ -193,8 +193,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
StringBuilder report = new StringBuilder();
report.AppendFormat(
"{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}\n",
"Max",
"{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}\n",
"Total",
"Resend",
"Land",
@ -205,8 +204,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
"Asset");
report.AppendFormat(
"{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}\n",
"kb/s",
"{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}\n",
"kb/s",
"kb/s",
"kb/s",
@ -216,12 +214,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
"kb/s",
"kb/s");
report.AppendLine();
ThrottleRates throttleRates = udpServer.ThrottleRates;
report.AppendFormat(
"{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}",
"-",
"{0,7} {1,8} {2,7} {3,7} {4,7} {5,7} {6,9} {7,7}",
(throttleRates.Total * 8) / 1000,
(throttleRates.Resend * 8) / 1000,
(throttleRates.Land * 8) / 1000,