[Opensim-dev] [Opensim-commits] r6249 - trunk/OpenSim/Region/ScriptEngine/Common

Dahlia Trimble dahliatrimble at gmail.com
Fri Sep 12 17:18:42 UTC 2008


That seems a useless metric to me; it has no relationship to actually
processing other than some scripts are making function calls. There could be
a few function calls that take up a significant load on the sim cpu, or
there could be many times that with little impact. It's a poor metric at
best that provides little insight into what is happening in the simulator.
I think that metric is no longer available in recent viewers anymore as it
seems to have been replaced with "Script Events"

On Fri, Sep 12, 2008 at 9:06 AM, Justin Clark-Casey <
jjustincc at googlemail.com> wrote:

> sdague at opensimulator.org wrote:
> > Author: sdague
> > Date: 2008-09-12 08:04:16 -0700 (Fri, 12 Sep 2008)
> > New Revision: 6249
> >
> > Modified:
> >    trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
> > Log:
> > add the m_host.AddScriptLPS(1); line.  I'm not actually sure what it
> > does, but it seems every other function here has it, so it is probably
> > needed.
>
> I believe that it adds one to the script lines per second executed
> statistic that can be seen in the viewer.
>
> >
> >
> > Modified:
> trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
> > ===================================================================
> > --- trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
>  2008-09-12 15:04:13 UTC (rev 6248)
> > +++ trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
>  2008-09-12 15:04:16 UTC (rev 6249)
> > @@ -586,6 +586,8 @@
> >
> >          public Hashtable osParseJSON(string JSON)
> >          {
> > +            m_host.AddScriptLPS(1);
> > +
> >              // see http://www.json.org/ for more details on JSON
> >
> >              string currentKey=null;
> >
> > _______________________________________________
> > Opensim-commits mailing list
> > Opensim-commits at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-commits
> >
>
>
> --
> justincc
> Justin Clark-Casey
> http://justincc.wordpress.com
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080912/9b66e3d4/attachment-0001.html>


More information about the Opensim-dev mailing list