OpenSimMirror/OpenSim/Region/Framework/Scenes
Justin Clark-Casey (justincc) a9a77bb3ab Replace script-lines-per-second with the script execution time scaled by its measurement period and an idealised frame time.
The previous lines-per-second measurement used for top scripts report was inaccurate, since lines executed does not reflect time taken to execute.
Also, every fetch of the report would reset all the numbers limiting its usefulness and we weren't even guaranteed to see the top 100.
The actual measurement value should be script execution time per frame but XEngine does not work this way.
Therefore, we use actual script execution time scaled by the measurement period and an idealised frame time.
This is still not ideal but gives reasonable results and allows scripts to be compared.
This commit moves script execution time calculations from SceneGraph into IScriptModule implementations.
2012-03-19 21:31:38 +00:00
..
Animation Add method doc to SPA.Falling and use automatic private get property 2012-01-07 00:29:55 +00:00
Scripting Object update prioritization by Jim Greensky of Intel Labs, part one. This implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon 2009-10-15 16:35:27 -07:00
Serialization If shape properties fail SOP parsing (e.g. due to commas instead of decimal points) print out one short message listing the failing node names rather than lots of exceptions. 2012-02-16 02:58:00 +00:00
Tests In ObjectTortureTests, run garbage collector on Teardown and run scene loop update when scene objects have been deleted. 2012-02-15 01:45:25 +00:00
Types remove unused BasicQuadTreeNode 2010-07-30 21:06:45 +01:00
AsyncInventorySender.cs minor: remove mono compiler warning 2011-07-11 02:11:37 +01:00
AsyncSceneObjectGroupDeleter.cs Fix bug where somebody taking a copy of an object they didn't own that was rezzed before the region was restarted would wrongly place the copy in the object owner's inventory. 2012-02-10 19:58:34 +00:00
Border.cs Formatting cleanup. 2009-10-01 09:38:36 +09:00
Cardinals.cs Add copyright headers. Formatting cleanup. 2009-09-03 02:04:17 +09:00
CoalescedSceneObjects.cs refactor: move code to obtain the coalescence size and object offsets into CoalescedSceneObjects from the serializer. 2011-04-13 21:48:16 +01:00
EntityBase.cs Stop OdePrim and OdeCharacter insanely overriding set LocalID to set their own private m_localID property but leaving get to return the then unset PhysicsActor.LocalId! 2011-11-16 23:01:59 +00:00
EntityManager.cs Call public ForEach instead of using m_entities directly. No semantic changes, just cleanup 2011-11-16 02:33:56 -08:00
EventManager.cs Add documentation to make more explicit the difference between OnRezScript and OnNewScript in the event manager 2012-03-19 21:26:32 +00:00
Prioritizer.cs Remove pointless cluttering SOP.ParentGroup != null checks. 2011-09-01 01:22:28 +01:00
RegionStatsHandler.cs Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead of OSHttpRequest/OSHttpResponse. 2011-12-05 20:44:20 +00:00
ReturnInfo.cs Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
Scene.Inventory.cs Restore the taskItem null check that I accidentally blatted in 5397a6d 2012-02-21 23:41:48 +00:00
Scene.PacketHandlers.cs Move HandleObjectGroupUpdate() from GroupsModule to Scene.PacketHandlers.cs as this is updating SOG/SOP.GroupID, which is arguably generic. 2011-12-19 23:03:45 +00:00
Scene.Permissions.cs Add permissions hooks for object transfers 2011-01-03 19:42:58 +00:00
Scene.cs Fix a problem where multiple near simultaneous calls to llDie() from multiple scripts in the same linkset can cause unnecessary thread aborts. 2012-03-19 21:29:34 +00:00
SceneBase.cs Get rid of IScene.PresenceChildStatus() which always had to execute a lookup in favour of IClientAPI.ISceneAgent.IsChildAgent instead. 2011-12-09 23:07:53 +00:00
SceneCommunicationService.cs Merge branch 'master' into 0.7.3-post-fixes 2012-02-24 23:35:59 +00:00
SceneGraph.cs Replace script-lines-per-second with the script execution time scaled by its measurement period and an idealised frame time. 2012-03-19 21:31:38 +00:00
SceneManager.cs Remove unused SceneManager.TryGetAvatarsScene() 2011-12-07 21:17:13 +00:00
SceneObjectGroup.Inventory.cs When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer permissions, not PermissionMask.All 2012-02-10 02:13:15 +00:00
SceneObjectGroup.cs Replace script-lines-per-second with the script execution time scaled by its measurement period and an idealised frame time. 2012-03-19 21:31:38 +00:00
SceneObjectPart.cs Fix:OmegaX, OmegaY and OmegaZ not saved for child prims http://opensimulator.org/mantis/view.php?id=5893 2012-02-19 13:49:51 -05:00
SceneObjectPartInventory.cs Add a regression test to compile and start a script. Remove Path.GetDirectoryName when getting assembly loading path in Compiler.CompileFromDotNetText(). 2012-02-07 17:44:37 +00:00
ScenePresence.cs Try to resolve some problems with viewers crashing after hitting parcel banlines or freezing on the banline. 2012-02-23 22:56:42 +00:00
SimStatsReporter.cs Remove unnecessary explicit ElapsedEventHandler in SimReporter 2012-03-19 21:26:12 +00:00
TerrainChannel.cs Terrain: added [Terrain] section with an option to load an initial flat terrain. Default is still pinhead island. I much rather have a flat land in the beginning. 2012-03-16 13:14:26 -07:00
TerrainUtil.cs Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
UndoState.cs Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL. 2011-11-02 14:59:00 -07:00
UuidGatherer.cs Comment out the uuid gatherer lines that I accidentally left in. 2011-10-23 03:14:32 +01:00