diff options
Diffstat (limited to 'OpenSim/Framework/Statistics/StatsManager.cs')
-rw-r--r-- | OpenSim/Framework/Statistics/StatsManager.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/OpenSim/Framework/Statistics/StatsManager.cs b/OpenSim/Framework/Statistics/StatsManager.cs index 3c97dde..41de3f3 100644 --- a/OpenSim/Framework/Statistics/StatsManager.cs +++ b/OpenSim/Framework/Statistics/StatsManager.cs | |||
@@ -26,7 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | namespace OpenSim.Framework.Statistics | 28 | namespace OpenSim.Framework.Statistics |
29 | { | 29 | { |
30 | /// <summary> | 30 | /// <summary> |
31 | /// Singleton used to provide access to statistics reporters | 31 | /// Singleton used to provide access to statistics reporters |
32 | /// </summary> | 32 | /// </summary> |
@@ -34,44 +34,44 @@ 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; |
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() {} | 43 | private StatsManager() {} |
44 | 44 | ||
45 | /// <summary> | 45 | /// <summary> |
46 | /// Start collecting statistics related to assets. | 46 | /// Start collecting statistics related to assets. |
47 | /// Should only be called once. | 47 | /// Should only be called once. |
48 | /// </summary> | 48 | /// </summary> |
49 | public static AssetStatsCollector StartCollectingAssetStats() | 49 | public static AssetStatsCollector StartCollectingAssetStats() |
50 | { | 50 | { |
51 | assetStats = new AssetStatsCollector(); | 51 | assetStats = new AssetStatsCollector(); |
52 | 52 | ||
53 | return assetStats; | 53 | return assetStats; |
54 | } | 54 | } |
55 | 55 | ||
56 | /// <summary> | 56 | /// <summary> |
57 | /// Start collecting statistics related to users. | 57 | /// Start collecting statistics related to users. |
58 | /// Should only be called once. | 58 | /// Should only be called once. |
59 | /// </summary> | 59 | /// </summary> |
60 | public static UserStatsCollector StartCollectingUserStats() | 60 | public static UserStatsCollector StartCollectingUserStats() |
61 | { | 61 | { |
62 | userStats = new UserStatsCollector(); | 62 | userStats = new UserStatsCollector(); |
63 | 63 | ||
64 | return userStats; | 64 | return userStats; |
65 | } | 65 | } |
66 | 66 | ||
67 | /// <summary> | 67 | /// <summary> |
68 | /// Start collecting extra sim statistics apart from those collected for the client. | 68 | /// Start collecting extra sim statistics apart from those collected for the client. |
69 | /// Should only be called once. | 69 | /// Should only be called once. |
70 | /// </summary> | 70 | /// </summary> |
71 | public static SimExtraStatsCollector StartCollectingSimExtraStats() | 71 | public static SimExtraStatsCollector StartCollectingSimExtraStats() |
72 | { | 72 | { |
73 | simExtraStats = new SimExtraStatsCollector(); | 73 | simExtraStats = new SimExtraStatsCollector(); |
74 | 74 | ||
75 | return simExtraStats; | 75 | return simExtraStats; |
76 | } | 76 | } |
77 | } | 77 | } |