aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-08 03:12:23 +0100
committerJustin Clark-Casey (justincc)2012-06-08 03:12:23 +0100
commit5f4f9f02309b7df4d1bdcc560cee96d266c48a07 (patch)
treed002750bc7fb10d9869afd6459a56d4437738ca8 /OpenSim/Framework
parentRemove null checks at top of LLUDPServer.ProcessInPacket(). Neither packet n... (diff)
downloadopensim-SC_OLD-5f4f9f02309b7df4d1bdcc560cee96d266c48a07.zip
opensim-SC_OLD-5f4f9f02309b7df4d1bdcc560cee96d266c48a07.tar.gz
opensim-SC_OLD-5f4f9f02309b7df4d1bdcc560cee96d266c48a07.tar.bz2
opensim-SC_OLD-5f4f9f02309b7df4d1bdcc560cee96d266c48a07.tar.xz
Add regression test for client logout due to ack timeout.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Statistics/StatsManager.cs17
1 files changed, 2 insertions, 15 deletions
diff --git a/OpenSim/Framework/Statistics/StatsManager.cs b/OpenSim/Framework/Statistics/StatsManager.cs
index 43159ef..436ce2f 100644
--- a/OpenSim/Framework/Statistics/StatsManager.cs
+++ b/OpenSim/Framework/Statistics/StatsManager.cs
@@ -34,14 +34,12 @@ namespace OpenSim.Framework.Statistics
34 { 34 {
35 private static AssetStatsCollector assetStats; 35 private static AssetStatsCollector assetStats;
36 private static UserStatsCollector userStats; 36 private static UserStatsCollector userStats;
37 private static SimExtraStatsCollector simExtraStats; 37 private static SimExtraStatsCollector simExtraStats = new SimExtraStatsCollector();
38 38
39 public static AssetStatsCollector AssetStats { get { return assetStats; } } 39 public static AssetStatsCollector AssetStats { get { return assetStats; } }
40 public static UserStatsCollector UserStats { get { return userStats; } } 40 public static UserStatsCollector UserStats { get { return userStats; } }
41 public static SimExtraStatsCollector SimExtraStats { get { return simExtraStats; } } 41 public static SimExtraStatsCollector SimExtraStats { get { return simExtraStats; } }
42 42
43 private StatsManager() {}
44
45 /// <summary> 43 /// <summary>
46 /// Start collecting statistics related to assets. 44 /// Start collecting statistics related to assets.
47 /// Should only be called once. 45 /// Should only be called once.
@@ -63,16 +61,5 @@ namespace OpenSim.Framework.Statistics
63 61
64 return userStats; 62 return userStats;
65 } 63 }
66
67 /// <summary>
68 /// Start collecting extra sim statistics apart from those collected for the client.
69 /// Should only be called once.
70 /// </summary>
71 public static SimExtraStatsCollector StartCollectingSimExtraStats()
72 {
73 simExtraStats = new SimExtraStatsCollector();
74
75 return simExtraStats;
76 }
77 } 64 }
78} 65} \ No newline at end of file