diff options
author | Teravus Ovares | 2009-01-03 03:30:03 +0000 |
---|---|---|
committer | Teravus Ovares | 2009-01-03 03:30:03 +0000 |
commit | e9cef70f892bfbf4aad0e4471a958367766d849a (patch) | |
tree | 397e078977b430526a2f04041e0dfb9a5fb99156 /OpenSim/Framework/Statistics | |
parent | Split agent updates into two messages: full update and position+camera update... (diff) | |
download | opensim-SC-e9cef70f892bfbf4aad0e4471a958367766d849a.zip opensim-SC-e9cef70f892bfbf4aad0e4471a958367766d849a.tar.gz opensim-SC-e9cef70f892bfbf4aad0e4471a958367766d849a.tar.bz2 opensim-SC-e9cef70f892bfbf4aad0e4471a958367766d849a.tar.xz |
* Updates the sim stats module. Cleans out some of the rot.
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
Diffstat (limited to 'OpenSim/Framework/Statistics')
-rw-r--r-- | OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | 65 |
1 files changed, 43 insertions, 22 deletions
diff --git a/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs b/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs index 48bed81..43c73b2 100644 --- a/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs +++ b/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | |||
@@ -51,27 +51,27 @@ namespace OpenSim.Framework.Statistics | |||
51 | private long assetServiceRequestFailures; | 51 | private long assetServiceRequestFailures; |
52 | private long inventoryServiceRetrievalFailures; | 52 | private long inventoryServiceRetrievalFailures; |
53 | 53 | ||
54 | private float timeDilation; | 54 | private volatile float timeDilation; |
55 | private float simFps; | 55 | private volatile float simFps; |
56 | private float physicsFps; | 56 | private volatile float physicsFps; |
57 | private float agentUpdates; | 57 | private volatile float agentUpdates; |
58 | private float rootAgents; | 58 | private volatile float rootAgents; |
59 | private float childAgents; | 59 | private volatile float childAgents; |
60 | private float totalPrims; | 60 | private volatile float totalPrims; |
61 | private float activePrims; | 61 | private volatile float activePrims; |
62 | private float totalFrameTime; | 62 | private volatile float totalFrameTime; |
63 | private float netFrameTime; | 63 | private volatile float netFrameTime; |
64 | private float physicsFrameTime; | 64 | private volatile float physicsFrameTime; |
65 | private float otherFrameTime; | 65 | private volatile float otherFrameTime; |
66 | private float imageFrameTime; | 66 | private volatile float imageFrameTime; |
67 | private float inPacketsPerSecond; | 67 | private volatile float inPacketsPerSecond; |
68 | private float outPacketsPerSecond; | 68 | private volatile float outPacketsPerSecond; |
69 | private float unackedBytes; | 69 | private volatile float unackedBytes; |
70 | private float agentFrameTime; | 70 | private volatile float agentFrameTime; |
71 | private float pendingDownloads; | 71 | private volatile float pendingDownloads; |
72 | private float pendingUploads; | 72 | private volatile float pendingUploads; |
73 | private float activeScripts; | 73 | private volatile float activeScripts; |
74 | private float scriptLinesPerSecond; | 74 | private volatile float scriptLinesPerSecond; |
75 | 75 | ||
76 | /// <summary> | 76 | /// <summary> |
77 | /// Number of times that a client thread terminated because of an exception | 77 | /// Number of times that a client thread terminated because of an exception |
@@ -87,7 +87,28 @@ namespace OpenSim.Framework.Statistics | |||
87 | public long TexturesInCache { get { return texturesInCache; } } | 87 | public long TexturesInCache { get { return texturesInCache; } } |
88 | public long AssetCacheMemoryUsage { get { return assetCacheMemoryUsage; } } | 88 | public long AssetCacheMemoryUsage { get { return assetCacheMemoryUsage; } } |
89 | public long TextureCacheMemoryUsage { get { return textureCacheMemoryUsage; } } | 89 | public long TextureCacheMemoryUsage { get { return textureCacheMemoryUsage; } } |
90 | 90 | ||
91 | public float TimeDilation { get { return timeDilation; } } | ||
92 | public float SimFps { get { return simFps; } } | ||
93 | public float PhysicsFps { get { return physicsFps; } } | ||
94 | public float AgentUpdates { get { return agentUpdates; } } | ||
95 | public float RootAgents { get { return rootAgents; } } | ||
96 | public float ChildAgents { get { return childAgents; } } | ||
97 | public float TotalPrims { get { return totalPrims; } } | ||
98 | public float ActivePrims { get { return activePrims; } } | ||
99 | public float TotalFrameTime { get { return totalFrameTime; } } | ||
100 | public float NetFrameTime { get { return netFrameTime; } } | ||
101 | public float PhysicsFrameTime { get { return physicsFrameTime; } } | ||
102 | public float OtherFrameTime { get { return otherFrameTime; } } | ||
103 | public float ImageFrameTime { get { return imageFrameTime; } } | ||
104 | public float InPacketsPerSecond { get { return inPacketsPerSecond; } } | ||
105 | public float OutPacketsPerSecond { get { return outPacketsPerSecond; } } | ||
106 | public float UnackedBytes { get { return unackedBytes; } } | ||
107 | public float AgentFrameTime { get { return agentFrameTime; } } | ||
108 | public float PendingDownloads { get { return pendingDownloads; } } | ||
109 | public float PendingUploads { get { return pendingUploads; } } | ||
110 | public float ActiveScripts { get { return activeScripts; } } | ||
111 | public float ScriptLinesPerSecond { get { return scriptLinesPerSecond; } } | ||
91 | /// <summary> | 112 | /// <summary> |
92 | /// This is the time it took for the last asset request made in response to a cache miss. | 113 | /// This is the time it took for the last asset request made in response to a cache miss. |
93 | /// </summary> | 114 | /// </summary> |