aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | Make StatsManager default output a little more readableRobert Adams2013-02-241-1/+1
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Add EventHistogram.GetHistogramAsOSDMap that returns that parametersRobert Adams2013-02-241-211/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | about the histogram as well as the values.
* | | | | | | | | | | | | | Modify StatsManager so console command "show stats category container"Robert Adams2013-02-241-5/+24
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only outputs the statistics in the specified container in the category.
* | | | | | | | | | | | | Add a virtual ToOSDMap() function to Monitoring.Stat for futureRobert Adams2013-02-211-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | overloading by aggregation statistics and browser based stat viewers.
* | | | | | | | | | | | | Add CounterStat which is a wrapper for a counter stat but, becauseRobert Adams2013-02-212-1/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the 'count' event is internal, historical data can be built it. Also includes EventHistogram class for building time based, bucketed history of event occurances. Make Stat implement IDisposable for subclasses that might need it.
* | | | | | | | | | | | | Add a method to IStatsCollector for returning stats as an OSDMap.Robert Adams2013-02-205-4/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend implementors of IStatsCollector to return an OSDMap of stats. Update UserStatsCollector and AssetStatsCollector to return both string and OSDMap data (as well as console format).
* | | | | | | | | | | | | Deleted all AssemblyFileVersion directivesDiva Canto2013-02-191-1/+1
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |
* | | | | | | | | | | | Use SortedDictionary in StatsManager instead of regular Dictionary so stats ↵Dan Lake2013-02-142-22/+22
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | will interate and print in a defined order
* | | | | | | | | | | Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)2013-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
* | | | | | | | | | | revert accidental change to MemoryWatchdog stat calculation in previous b1b4687Justin Clark-Casey (justincc)2013-01-101-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Add "show script timers" command to show script timers. For debug purposes.Justin Clark-Casey (justincc)2013-01-101-1/+1
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, "show sensors" changes to "show script sensors".
* | | | | | | | | | refactor: Move stat classes out of StatManager and into their own files for ↵Justin Clark-Casey (justincc)2012-11-163-260/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clarity.
* | | | | | | | | | Add a first draft mechanism for the IncomingPacketsProcessedStat to show the ↵Justin Clark-Casey (justincc)2012-11-162-4/+139
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | delta over time. The chief motivation for this is to be able to tell whether there's any impact on incoming packet processing from enabling extra packet pooling.
* | | | | | | | | Make PacketPool class stats pull stats instead of push stats so they can be ↵Justin Clark-Casey (justincc)2012-11-151-4/+10
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | lifted up into LLUDPServer and be distiguished by scene name
* | | | | | | | A few more AssemblyInfos in a few more dlls.Diva Canto2012-11-141-0/+33
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Make it possible to turn the base UDP object packet pools on and off whilst ↵Justin Clark-Casey (justincc)2012-10-231-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | running via the "debug lludp pool <on|off>" console command. For debug purposes. This does not currently apply to the higher LLUDP packetpool.
* | | | | | | 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.