<div dir="ltr">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.<div>
<br></div><div>I think that metric is no longer available in recent viewers anymore as it seems to have been replaced with "Script Events" <br><br><div class="gmail_quote">On Fri, Sep 12, 2008 at 9:06 AM, Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><a href="mailto:sdague@opensimulator.org">sdague@opensimulator.org</a> wrote:<br>
> Author: sdague<br>
> Date: 2008-09-12 08:04:16 -0700 (Fri, 12 Sep 2008)<br>
> New Revision: 6249<br>
><br>
> Modified:<br>
>    trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs<br>
> Log:<br>
> add the m_host.AddScriptLPS(1); line.  I'm not actually sure what it<br>
> does, but it seems every other function here has it, so it is probably<br>
> needed.<br>
<br>
I believe that it adds one to the script lines per second executed statistic that can be seen in the viewer.<br>
<br>
><br>
><br>
> Modified: trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs<br>
> ===================================================================<br>
> --- trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs  2008-09-12 15:04:13 UTC (rev 6248)<br>
> +++ trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs  2008-09-12 15:04:16 UTC (rev 6249)<br>
> @@ -586,6 +586,8 @@<br>
><br>
>          public Hashtable osParseJSON(string JSON)<br>
>          {<br>
> +            m_host.AddScriptLPS(1);<br>
> +<br>
>              // see <a href="http://www.json.org/" target="_blank">http://www.json.org/</a> for more details on JSON<br>
><br>
>              string currentKey=null;<br>
><br>
> _______________________________________________<br>
> Opensim-commits mailing list<br>
> <a href="mailto:Opensim-commits@lists.berlios.de">Opensim-commits@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-commits" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-commits</a><br>
><br>
<font color="#888888"><br>
<br>
--<br>
justincc<br>
Justin Clark-Casey<br>
<a href="http://justincc.wordpress.com" target="_blank">http://justincc.wordpress.com</a><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</font></blockquote></div><br></div></div>