aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add object count stats for new IncomingPacket and UDPPacketBuffer pools if ↵Justin Clark-Casey (justincc)2012-10-231-6/+69
| | | | | | | | they are enabled. Add count stats for existing LLUDP pool. This introduces a pull stat type in addition to the push stat type. A pull stat takes a method on construction which knows how to update the stat on request. In this way, special interfaces for pull stat collection are not necessary.
* Add LastMemoryChurn stat using existing data so we can more quickly tell how ↵Justin Clark-Casey (justincc)2012-10-162-2/+14
| | | | memory churn changes rather than waiting for the average to move.
* Get Watchdog to log thread removalJustin Clark-Casey (justincc)2012-10-121-1/+19
|
* Fix percentage stats to multiply by 100. Adjust container name for ↵Justin Clark-Casey (justincc)2012-10-121-2/+2
| | | | packetpool stats.
* Fix build break by moving OpenSim.Framework.Console back below HttpServer in ↵Justin Clark-Casey (justincc)2012-10-121-2/+1
| | | | | | the build order. Luckily, it turns out Framework.Monitoring doesn't need to reference Console directly.
* Fix packetpool for ImprovedTerseObjectUpdate packets.Justin Clark-Casey (justincc)2012-10-111-3/+13
| | | | | These were neither being returned or in many places reused. Getting packets from a pool rather than deallocating and reallocating reduces memory churn which in turn reduces garbage collection time and frequency.
* Extend "show stats" command to "show stats [list|all|<category name>]"Justin Clark-Casey (justincc)2012-10-112-24/+185
| | | | | | This allows different categories of stats to be shown, with options to list categories or show all stats. Currently categories are scene and simulator and only a very few stats are currently registered via this mechanism. This commit also adds percentage stats for packets and blocks reused from the packet pool.
* Add generic PercentageStat.Justin Clark-Casey (justincc)2012-10-041-2/+33
| | | | Not yet used.
* Add experimental "slow frames" stat, available in "show stats" and via the ↵Justin Clark-Casey (justincc)2012-10-042-2/+125
| | | | | | | | | monitoring module. This increments a SlowFrames counter if a frame takes over 120% of maximum time. This commit also introduces a generic OpenSim.Framework.Monitoring.Stat which is available to any code that wants to register a statistic. This is more granualar than asking objects to create their own reports. At some point this will supersede earlier IMonitor and IAlert facilities in MonitoringModule which are only available to scene code.
* When reporting a thread timeout, create a copy of the info rather than ↵Justin Clark-Casey (justincc)2012-08-181-1/+14
| | | | | | | passing the original ThreadWatchdogInfo structure. This is to avoid the possibility of misleading reporting if a watchdog update outraces an alarm. Should address any remaining issues from http://opensimulator.org/mantis/view.php?id=6012
* Don't enable the thread watchdog until all regions are ready.Justin Clark-Casey (justincc)2012-08-151-5/+26
| | | | This is to avoid false positives when the machine is under heavy load whilst starting up.
* minor: Comment out unused MemoryWatchdog.m_churnRatePerMillisecond - this is ↵Justin Clark-Casey (justincc)2012-07-271-1/+1
| | | | currently calculated dynamically
* Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)2012-07-252-0/+463
| | | | with other monitoring code from OpenSim.Framework
* Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2012-07-257-0/+881
This better reflects the long-term purpose of that project and matches Monitoring modules.