Printout one more field in show threads, but this won't buy us much.

prioritization
Diva Canto 2009-10-07 17:29:21 -07:00
parent a52f6c56b1
commit ab3bfca546
1 changed files with 2 additions and 1 deletions

View File

@ -246,7 +246,8 @@ namespace OpenSim.Framework.Servers
foreach (ProcessThread t in threads)
{
sb.Append("ID: " + t.Id + ", TotalProcessorTime: " + t.TotalProcessorTime + ", TimeRunning: " +
(DateTime.Now - t.StartTime) + ", Pri: " + t.CurrentPriority + ", State: " + t.ThreadState + Environment.NewLine);
(DateTime.Now - t.StartTime) + ", Pri: " + t.CurrentPriority + ", State: " + t.ThreadState +
", WaitReason: " + t.WaitReason + Environment.NewLine);
}
}
int workers = 0, ports = 0, maxWorkers = 0, maxPorts = 0;