aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-11-04 00:55:48 +0000
committerJustin Clark-Casey (justincc)2014-11-25 23:23:10 +0000
commitec8d21c434a39f46518ee9cf9f5539d1790eacc0 (patch)
tree2aa340fb34c6f6e8e8f2e31c2034b5841307a7bf /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentAdd "show threadpool calls" command to show count of all labelled smartthread... (diff)
downloadopensim-SC-ec8d21c434a39f46518ee9cf9f5539d1790eacc0.zip
opensim-SC-ec8d21c434a39f46518ee9cf9f5539d1790eacc0.tar.gz
opensim-SC-ec8d21c434a39f46518ee9cf9f5539d1790eacc0.tar.bz2
opensim-SC-ec8d21c434a39f46518ee9cf9f5539d1790eacc0.tar.xz
Label all threadpool calls being made in core OpenSimulator. This is to add problem diagnosis.
"show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 9481f71..1d234e2 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1235,7 +1235,8 @@ namespace OpenSim.Region.Framework.Scenes
1235 string.Format("Rez attachments for {0} in {1}", Name, Scene.Name), 1235 string.Format("Rez attachments for {0} in {1}", Name, Scene.Name),
1236 null); 1236 null);
1237 else 1237 else
1238 Util.FireAndForget(o => Scene.AttachmentsModule.RezAttachments(this)); 1238 Util.FireAndForget(
1239 o => Scene.AttachmentsModule.RezAttachments(this), null, "ScenePresence.RezAttachmentsOnLogin");
1239 } 1240 }
1240 } 1241 }
1241 else 1242 else
@@ -1338,7 +1339,7 @@ namespace OpenSim.Region.Framework.Scenes
1338 1339
1339 UseFakeGroupTitle = false; 1340 UseFakeGroupTitle = false;
1340 SendAvatarDataToAllClients(false); 1341 SendAvatarDataToAllClients(false);
1341 }); 1342 }, null, "Scenepresence.ForceViewersUpdateName");
1342 } 1343 }
1343 1344
1344 public int GetStateSource() 1345 public int GetStateSource()
@@ -3645,7 +3646,8 @@ namespace OpenSim.Region.Framework.Scenes
3645 agentpos.CopyFrom(cadu, ControllingClient.SessionId); 3646 agentpos.CopyFrom(cadu, ControllingClient.SessionId);
3646 3647
3647 // Let's get this out of the update loop 3648 // Let's get this out of the update loop
3648 Util.FireAndForget(delegate { m_scene.SendOutChildAgentUpdates(agentpos, this); }); 3649 Util.FireAndForget(
3650 o => m_scene.SendOutChildAgentUpdates(agentpos, this), null, "ScenePresence.SendOutChildAgentUpdates");
3649 } 3651 }
3650 } 3652 }
3651 3653
@@ -4515,7 +4517,7 @@ namespace OpenSim.Region.Framework.Scenes
4515 } 4517 }
4516 } 4518 }
4517 } 4519 }
4518 }); 4520 }, null, "ScenePresence.SendScriptEventToAttachments");
4519 } 4521 }
4520 4522
4521 /// <summary> 4523 /// <summary>