Add a first draft mechanism for the IncomingPacketsProcessedStat to show the delta over time.

The chief motivation for this is to be able to tell whether there's any impact on incoming packet processing from enabling extra packet pooling.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-11-16 04:36:22 +00:00
parent 350cd58e5e
commit cd088757e9
3 changed files with 140 additions and 4 deletions

View File

@@ -80,6 +80,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
"clientstack",
scene.Name,
StatType.Pull,
MeasuresOfInterest.AverageChangeOverTime,
stat => stat.Value = m_udpServer.IncomingPacketsProcessed,
StatVerbosity.Debug));
}