aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* replace StatisticsFPSfactor that needed to be changed with FrameTime to a ↵UbitUmarov2015-11-091-140/+146
| | | | simpler true or false Normalized55FPS that is now TRUE by default. Incorrectly this commit also contains changes that should had their own commits: changes to heartbeat time control ant to gathering and calculation of related statistics.
* rename MinFrameTime as FrameTime, since it is not a minimum but a target ↵UbitUmarov2015-11-081-8/+14
| | | | value; retune its value a bit so reported FPS is closer to integer value; change ode step size acording to reduce jitter in phys FPS; Make Statistics Scaling factor (fludge factor) configurable. (legacy default of 5.0 in code)
* recover scripts execution time stat i lost on previus changes. Behing ↵UbitUmarov2015-10-211-1/+3
| | | | async, this will not add with other time stats giving total frame time, as happens on other simulators. But its a good diag stat.
* in stats use real integration time, not the wanted one. Dont let stats ↵UbitUmarov2015-10-121-20/+29
| | | | calls overlap using a proper lock object
* add script events per sec stat, using the time report code, but ignoring ↵UbitUmarov2015-09-081-2/+9
| | | | the time for nowwq
* remove a forgotten cast to intUbitUmarov2015-09-061-1/+1
|
* still a missing stat IDUbitUmarov2015-09-061-9/+12
|
* let extra stats travel side by side with viewers ones... try to fix damm ↵UbitUmarov2015-09-061-50/+91
| | | | array indexes all over the place
* a few changes to stats. Array order coerent on users. give up on moses stats ↵UbitUmarov2015-09-041-79/+91
| | | | for now, since SimExtraStatsCollector cant reach SimStatsReport etc
* remove a forgotten 1000.9 factor on physics fpsUbitUmarov2015-09-041-1/+1
|
* use GetTimeStampMS to increase heartbeat and stats timing resolution. some ↵UbitUmarov2015-09-041-53/+52
| | | | rearrange on stat code ( MOSES special ones still out )
* at last we can login and see objects ( friends is dead and disable inUbitUmarov2015-09-031-1/+1
| | | | scenepresence)
* seems to compile ( tests comented out)UbitUmarov2015-09-021-175/+7
|
* bad merge?UbitUmarov2015-09-011-33/+109
|\
| * Merge branch 'master' into careminsterMelanie2013-05-161-0/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
| * \ Merge branch 'master' into careminsterMelanie2012-10-231-2/+4
| |\ \
| * \ \ Merge branch 'master' into careminsterMelanie2012-10-041-0/+33
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
| * | | | Prevent a nullref if SimStatsReporter tries to report on a sim where psysics areMelanie2012-09-031-14/+17
| | | | | | | | | | | | | | | | | | | | not yet initialized
| * | | | Merge branch 'master' into careminsterMelanie2012-07-281-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Monitoring/BaseStatsCollector.cs OpenSim/Region/Application/OpenSim.cs OpenSim/Region/Application/OpenSimBase.cs OpenSim/Region/Framework/Scenes/SceneManager.cs bin/OpenMetaverse.Rendering.Meshmerizer.dll bin/OpenMetaverse.StructuredData.dll bin/OpenMetaverse.dll bin/OpenMetaverseTypes.dll prebuild.xml
| * | | | | fix our stats ( old schema )UbitUmarov2012-07-171-27/+40
| | | | | |
| * | | | | Merge branch 'master' into careminsterMelanie2012-06-061-99/+115
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/CoreModules/World/Warp3DMap/Warp3DImageModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
| * \ \ \ \ \ Merge branch 'master' into careminsterMelanie2012-06-021-28/+14
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
| * \ \ \ \ \ \ Merge branch 'master' into careminsterMelanie2012-05-311-5/+43
| |\ \ \ \ \ \ \
| * | | | | | | | display a sleep time of zero if forced spare time to zero, when sim fps is ↵UbitUmarov2012-05-121-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lower than desired, for better display coerence.
| * | | | | | | | "save the catgirls"UbitUmarov2012-04-241-14/+4
| | | | | | | | |
| * | | | | | | | fix Simulation time reportUbitUmarov2012-04-241-0/+7
| | | | | | | | |
| * | | | | | | | some reduction on time resolution efects on spare time reportUbitUmarov2012-04-241-4/+8
| | | | | | | | |
| * | | | | | | | *testing* changed stats time reports to be per reported frame and not ↵UbitUmarov2012-04-241-11/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acumulated in about 1second. Total Frame Time is not just 1/reported sim fps
* | | | | | | | | Mantis #7713: fixed bug introduced by 1st MOSES patch.Diva Canto2015-08-301-7/+9
| | | | | | | | |
* | | | | | | | | Show Script Time in the statistics panelOren Hurvitz2015-08-111-38/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value shown is the number of milliseconds per frame that were spent executing scripts in this region.
* | | | | | | | | Updated phase 2 to have the changes originally done in phase 1 for the ↵Steven Zielinski2015-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defaultNumberFramesStored. Test Plan: Tested using opensim standalone on windows with json stats. Reviewers: rlouden Reviewed By: rlouden Differential Revision: http://cr.irl.ucf.edu/D275
* | | | | | | | | Phase 2 additons with Frame Dilation metric.Robert Louden2015-04-211-25/+27
| | | | | | | | |
* | | | | | | | | Moved over metrics from previous OpenSim 0.8.0.3 repository (this new ↵Glenn Martin2015-04-211-13/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | repository is now the master branch from OpenSim).
* | | | | | | | | Improve frame time stability by taking a few unnecessary repeated ↵Justin Clark-Casey (justincc)2014-11-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calculations out of the main scene loop. Also uses a wait event to sleep rather than a Thread.Sleep to allow the loop to be interrupted in a more controlled manner when necessary.
* | | | | | | | | varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams2013-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
* | | | | | | | | VarRegion: change RegionInfo storage of region coordinates from regionRobert Adams2013-09-281-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | count number to integer world coordinates. Added new methods RegionWorldLoc[XY]. Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim. Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability of external region management packages.
* | | | | | | | Eliminate race condition where SimStatsReporter starts reportingRobert Adams2013-05-141-0/+3
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | stats before the region is completely initialized.
* | | | | | | Add object count stats for new IncomingPacket and UDPPacketBuffer pools if ↵Justin Clark-Casey (justincc)2012-10-231-2/+4
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 generic PercentageStat.Justin Clark-Casey (justincc)2012-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Not yet used.
* | | | | | Add experimental "slow frames" stat, available in "show stats" and via the ↵Justin Clark-Casey (justincc)2012-10-041-0/+33
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2012-07-251-1/+1
| |_|_|/ |/| | | | | | | | | | | This better reflects the long-term purpose of that project and matches Monitoring modules.
* | | | Scale down per frame MS stats to match scaled simulator FPS stat.Justin Clark-Casey (justincc)2012-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | This makes frame time stats properly tally with fps, which saves confusion and makes it easier to interpret numbers. In some ways this is not so artifical - physics FPS runs at the higher rate.
* | | | Start sending spare frame time MS viewer stat. Make frame time correctly ↵Justin Clark-Casey (justincc)2012-06-051-34/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | display total frame time, not just non-spare time. This makes it easier to see when components of frame time exceed normal permitted frame time. Currently reflect scene frame times.
* | | | Properly show per frame millisecond statistics per frame, not as amount of ↵Justin Clark-Casey (justincc)2012-06-041-22/+41
| |_|/ |/| | | | | | | | | | | | | | | | | time taken per second. This is to make these statistics actually match their names (and also be more accurate as number of frames can vary under heavy load) Currently using scene frames (11.23 every second) instead of physics frames (56.18 per second)
* | | Instead of updating sim stats root agent, child, objects and scripts ↵Justin Clark-Casey (justincc)2012-06-011-28/+14
| |/ |/| | | | | accounts every single scene frame, update in the once every 3 seconds SimStatsReporter run
* | Add an optional mechanism for physics modules to collect and return ↵Justin Clark-Casey (justincc)2012-05-311-5/+43
|/ | | | | | | | | | | arbitrary stats. If active, the physics module can return arbitrary stat counters that can be seen via the MonitoringModule (http://opensimulator.org/wiki/Monitoring_Module) This is only active in OdeScene if collect_stats = true in [ODEPhysicsSettings]. This patch allows OdeScene to collect elapsed time information for calls to the ODE native collision methods to assess what proportion of time this takes compared to total physics processing. This data is returned as ODENativeCollisionFrameMS in the monitoring module, updated every 3 seconds. The performance effect of collecting stats is probably extremely minor, dwarfed by the rest of the physics code.
* Remove unnecessary explicit ElapsedEventHandler in SimReporterJustin Clark-Casey (justincc)2012-03-061-1/+1
|
* Explictly close down the StatsReporter so that we can shutdown its timerJustin Clark-Casey (justincc)2012-03-061-0/+6
| | | | This is another step necessary for the scene to be garbage collected between performance tests
* Tie reported FPS correction factor into the minimum frame time rather than ↵Justin Clark-Casey (justincc)2011-10-131-3/+9
| | | | | | setting separately. This makes reported FPS scale as required if min frame time changes
* Move fps stat adjustment factor into field rather than hard-coded.Justin Clark-Casey (justincc)2011-10-131-1/+12
|