From 65c5efe43b68700bad94076d4cd421160203c5de Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Fri, 16 May 2008 01:22:11 +0000 Subject: Formatting cleanup. --- OpenSim/Framework/Statistics/StatsManager.cs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'OpenSim/Framework/Statistics/StatsManager.cs') 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 @@ */ namespace OpenSim.Framework.Statistics -{ +{ /// /// Singleton used to provide access to statistics reporters /// @@ -34,44 +34,44 @@ namespace OpenSim.Framework.Statistics { private static AssetStatsCollector assetStats; private static UserStatsCollector userStats; - private static SimExtraStatsCollector simExtraStats; - + private static SimExtraStatsCollector simExtraStats; + public static AssetStatsCollector AssetStats { get { return assetStats; } } public static UserStatsCollector UserStats { get { return userStats; } } public static SimExtraStatsCollector SimExtraStats { get { return simExtraStats; } } - + private StatsManager() {} - + /// /// Start collecting statistics related to assets. /// Should only be called once. - /// + /// public static AssetStatsCollector StartCollectingAssetStats() { assetStats = new AssetStatsCollector(); - + return assetStats; } - + /// /// Start collecting statistics related to users. /// Should only be called once. - /// + /// public static UserStatsCollector StartCollectingUserStats() { userStats = new UserStatsCollector(); - + return userStats; - } - + } + /// - /// Start collecting extra sim statistics apart from those collected for the client. + /// Start collecting extra sim statistics apart from those collected for the client. /// Should only be called once. /// public static SimExtraStatsCollector StartCollectingSimExtraStats() { simExtraStats = new SimExtraStatsCollector(); - + return simExtraStats; } } -- cgit v1.1