aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Statistics/AssetStatsCollector.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-06-10 18:10:57 +0000
committerJustin Clarke Casey2008-06-10 18:10:57 +0000
commit184a288b4d04a58579d03b2d9518b1b6e0640e80 (patch)
tree3f7d1628268dae9057c57af5f17384b467ad31f2 /OpenSim/Framework/Statistics/AssetStatsCollector.cs
parentMantis#1501. Thank you kindly, Nebadon, for a patch that (diff)
downloadopensim-SC_OLD-184a288b4d04a58579d03b2d9518b1b6e0640e80.zip
opensim-SC_OLD-184a288b4d04a58579d03b2d9518b1b6e0640e80.tar.gz
opensim-SC_OLD-184a288b4d04a58579d03b2d9518b1b6e0640e80.tar.bz2
opensim-SC_OLD-184a288b4d04a58579d03b2d9518b1b6e0640e80.tar.xz
* Add memory currently allocated to OpenSim to 'show stats' statistics
* This is the GC.GetTotalMemory() method, which I'm guessing does not include memory used by the VM (hence the memory usage reported in top on linux would be much higher)
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Statistics/AssetStatsCollector.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Statistics/AssetStatsCollector.cs b/OpenSim/Framework/Statistics/AssetStatsCollector.cs
index ed6779d..f2b765f 100644
--- a/OpenSim/Framework/Statistics/AssetStatsCollector.cs
+++ b/OpenSim/Framework/Statistics/AssetStatsCollector.cs
@@ -33,7 +33,7 @@ namespace OpenSim.Framework.Statistics
33 /// <summary> 33 /// <summary>
34 /// Asset service statistics collection 34 /// Asset service statistics collection
35 /// </summary> 35 /// </summary>
36 public class AssetStatsCollector : IStatsCollector 36 public class AssetStatsCollector : BaseStatsCollector
37 { 37 {
38 private Timer ageStatsTimer = new Timer(24 * 60 * 60 * 1000); 38 private Timer ageStatsTimer = new Timer(24 * 60 * 60 * 1000);
39 private DateTime startTime = DateTime.Now; 39 private DateTime startTime = DateTime.Now;