diff options
author | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-05 19:07:37 +0000 |
commit | b16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch) | |
tree | 6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/CoreModules/Framework/Monitoring | |
parent | Make it possible to disable the bakes module in the way it is described in co... (diff) | |
download | opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2 opensim-SC_OLD-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz |
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/Monitoring')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs index 93a7cf2..fb3d31c 100644 --- a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | |||
@@ -44,7 +44,7 @@ using Mono.Addins; | |||
44 | namespace OpenSim.Region.CoreModules.Framework.Monitoring | 44 | namespace OpenSim.Region.CoreModules.Framework.Monitoring |
45 | { | 45 | { |
46 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "MonitorModule")] | 46 | [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "MonitorModule")] |
47 | public class MonitorModule : INonSharedRegionModule | 47 | public class MonitorModule : INonSharedRegionModule |
48 | { | 48 | { |
49 | /// <summary> | 49 | /// <summary> |
50 | /// Is this module enabled? | 50 | /// Is this module enabled? |
@@ -78,7 +78,7 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
78 | 78 | ||
79 | if (cnfg != null) | 79 | if (cnfg != null) |
80 | Enabled = cnfg.GetBoolean("Enabled", true); | 80 | Enabled = cnfg.GetBoolean("Enabled", true); |
81 | 81 | ||
82 | if (!Enabled) | 82 | if (!Enabled) |
83 | return; | 83 | return; |
84 | 84 | ||
@@ -433,7 +433,7 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
433 | MakeStat("ScriptLines", "lines/sec", (s) => { s.Value = m_scene.StatsReporter.LastReportedSimStats[20]; }); | 433 | MakeStat("ScriptLines", "lines/sec", (s) => { s.Value = m_scene.StatsReporter.LastReportedSimStats[20]; }); |
434 | MakeStat("SimSpareMS", "ms/sec", (s) => { s.Value = m_scene.StatsReporter.LastReportedSimStats[21]; }); | 434 | MakeStat("SimSpareMS", "ms/sec", (s) => { s.Value = m_scene.StatsReporter.LastReportedSimStats[21]; }); |
435 | } | 435 | } |
436 | 436 | ||
437 | private void UnRegisterStatsManagerRegionStatistics() | 437 | private void UnRegisterStatsManagerRegionStatistics() |
438 | { | 438 | { |
439 | foreach (Stat stat in registeredStats) | 439 | foreach (Stat stat in registeredStats) |
@@ -443,6 +443,6 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
443 | } | 443 | } |
444 | registeredStats.Clear(); | 444 | registeredStats.Clear(); |
445 | } | 445 | } |
446 | 446 | ||
447 | } | 447 | } |
448 | } \ No newline at end of file | 448 | } \ No newline at end of file |