diff options
author | Mic Bowman | 2011-04-22 14:01:12 -0700 |
---|---|---|
committer | Mic Bowman | 2011-04-22 14:01:12 -0700 |
commit | 3534f4492ae747baff492f4bc10bf06994ee1bc6 (patch) | |
tree | 710921074b28c59cb8827a296a7e77b66f9c1d8c /OpenSim/Framework/PriorityQueue.cs | |
parent | Merge branch 'queuetest' of ssh://opensimulator.org/var/git/opensim into queu... (diff) | |
download | opensim-SC_OLD-3534f4492ae747baff492f4bc10bf06994ee1bc6.zip opensim-SC_OLD-3534f4492ae747baff492f4bc10bf06994ee1bc6.tar.gz opensim-SC_OLD-3534f4492ae747baff492f4bc10bf06994ee1bc6.tar.bz2 opensim-SC_OLD-3534f4492ae747baff492f4bc10bf06994ee1bc6.tar.xz |
Various clean ups. Removed some debugging code. Added a new "show pqueues"
command to look at the entity update priority queue. Added a "name" parameter
to show queues, show pqueues and show throttles to look at data for a specific
user.
Diffstat (limited to 'OpenSim/Framework/PriorityQueue.cs')
-rw-r--r-- | OpenSim/Framework/PriorityQueue.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Framework/PriorityQueue.cs b/OpenSim/Framework/PriorityQueue.cs index eec2a92..ea718c4 100644 --- a/OpenSim/Framework/PriorityQueue.cs +++ b/OpenSim/Framework/PriorityQueue.cs | |||
@@ -174,14 +174,13 @@ namespace OpenSim.Framework | |||
174 | } | 174 | } |
175 | } | 175 | } |
176 | 176 | ||
177 | /// <summary> | ||
178 | /// </summary> | ||
177 | public override string ToString() | 179 | public override string ToString() |
178 | { | 180 | { |
179 | string s = ""; | 181 | string s = ""; |
180 | for (int i = 0; i < NumberOfQueues; i++) | 182 | for (int i = 0; i < NumberOfQueues; i++) |
181 | { | 183 | s += String.Format("{0,7} ",m_heaps[i].Count); |
182 | if (s != "") s += ","; | ||
183 | s += m_heaps[i].Count.ToString(); | ||
184 | } | ||
185 | return s; | 184 | return s; |
186 | } | 185 | } |
187 | 186 | ||