diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs index d471062..cc6a1e8 100644 --- a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs +++ b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs | |||
@@ -487,8 +487,9 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
487 | report.Append(GetColumnEntry("Type", maxTypeLength, columnPadding)); | 487 | report.Append(GetColumnEntry("Type", maxTypeLength, columnPadding)); |
488 | 488 | ||
489 | report.AppendFormat( | 489 | report.AppendFormat( |
490 | "{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}\n", | 490 | "{0,8} {1,8} {2,7} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7}\n", |
491 | "Max", | 491 | "Max", |
492 | "Target", | ||
492 | "Total", | 493 | "Total", |
493 | "Resend", | 494 | "Resend", |
494 | "Land", | 495 | "Land", |
@@ -500,7 +501,8 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
500 | 501 | ||
501 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); | 502 | report.AppendFormat("{0,-" + totalInfoFieldsLength + "}", ""); |
502 | report.AppendFormat( | 503 | report.AppendFormat( |
503 | "{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}\n", | 504 | "{0,8} {1,8} {2,7} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7}\n", |
505 | "kb/s", | ||
504 | "kb/s", | 506 | "kb/s", |
505 | "kb/s", | 507 | "kb/s", |
506 | "kb/s", | 508 | "kb/s", |
@@ -542,8 +544,9 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
542 | report.Append(GetColumnEntry(isChild ? "Cd" : "Rt", maxTypeLength, columnPadding)); | 544 | report.Append(GetColumnEntry(isChild ? "Cd" : "Rt", maxTypeLength, columnPadding)); |
543 | 545 | ||
544 | report.AppendFormat( | 546 | report.AppendFormat( |
545 | "{0,8} {1,7} {2,8} {3,7} {4,7} {5,7} {6,7} {7,9} {8,7}", | 547 | "{0,8} {1,8} {2,7} {3,8} {4,7} {5,7} {6,7} {7,7} {8,9} {9,7}\n", |
546 | (ci.maxThrottle * 8) / 1000, | 548 | ci.maxThrottle > 0 ? ((ci.maxThrottle * 8) / 1000).ToString() : "-", |
549 | llUdpClient.FlowThrottle.AdaptiveEnabled ? ((ci.targetThrottle * 8) / 1000).ToString() : "-", | ||
547 | (ci.totalThrottle * 8) / 1000, | 550 | (ci.totalThrottle * 8) / 1000, |
548 | (ci.resendThrottle * 8) / 1000, | 551 | (ci.resendThrottle * 8) / 1000, |
549 | (ci.landThrottle * 8) / 1000, | 552 | (ci.landThrottle * 8) / 1000, |
@@ -551,9 +554,7 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden | |||
551 | (ci.cloudThrottle * 8) / 1000, | 554 | (ci.cloudThrottle * 8) / 1000, |
552 | (ci.taskThrottle * 8) / 1000, | 555 | (ci.taskThrottle * 8) / 1000, |
553 | (ci.textureThrottle * 8) / 1000, | 556 | (ci.textureThrottle * 8) / 1000, |
554 | (ci.assetThrottle * 8) / 1000); | 557 | (ci.assetThrottle * 8) / 1000); |
555 | |||
556 | report.AppendLine(); | ||
557 | } | 558 | } |
558 | }); | 559 | }); |
559 | } | 560 | } |