Comment instrumentation out. Not needed anymore. Left in comments, in case it is needed again. Mantis #5365

0.7.1-dev
Diva Canto 2011-02-09 09:50:26 -08:00
parent 1cd951e5ae
commit f33e51e2ff
1 changed files with 7 additions and 4 deletions

View File

@ -1059,10 +1059,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
#endregion Update Timers
if (m_scene.EmergencyMonitoring)
clientPacketHandler = MonitoredClientOutgoingPacketHandler;
else
clientPacketHandler = ClientOutgoingPacketHandler;
// Use this for emergency monitoring -- bug hunting
//if (m_scene.EmergencyMonitoring)
// clientPacketHandler = MonitoredClientOutgoingPacketHandler;
//else
// clientPacketHandler = ClientOutgoingPacketHandler;
// Handle outgoing packets, resends, acknowledgements, and pings for each
// client. m_packetSent will be set to true if a packet is sent
@ -1118,6 +1119,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
#region Emergency Monitoring
// Alternative packet handler fuull of instrumentation
// Handy for hunting bugs
private Stopwatch watch1 = new Stopwatch();
private Stopwatch watch2 = new Stopwatch();