* For shits and giggles, print out the time taken for a server to start up (which doesn't include stuff such as script starting time on the region server).

* Yes, you could work this out from timestamps in the logs, but that's far too much work
0.6.0-stable
Justin Clarke Casey 2008-10-03 15:23:35 +00:00
parent 70124a3213
commit fbc813e658
1 changed files with 4 additions and 0 deletions

View File

@ -214,6 +214,10 @@ namespace OpenSim.Framework.Servers
m_log.Info("[STARTUP]: Version: " + m_version + "\n");
StartupSpecific();
TimeSpan timeTaken = DateTime.Now - m_startuptime;
m_log.InfoFormat("[STARTUP]: Server startup took {0}m {1}s", timeTaken.Minutes, timeTaken.Seconds);
}
/// <summary>