Re: llSetTimerEvent accuracy / config

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: llSetTimerEvent accuracy / config

Michel Beauregard
if its the config in opensim you want to talk about and not the accuracy of the timer event itself  there is a good discussion here about that old subject for openrsim / SL :

http://was.fm/opensim/server_patches/use_timers_for_lsl_events
The mantis also reference in this web page is interesting to read.

gimisa

--------------------------------------------
En date de : Dim, 20.3.16, Jeff Kelley <[hidden email]> a écrit :

 Objet : Re: [Opensim-dev] llSetTimerEvent accuracy
 À : [hidden email]
 Date: dimanche 20 mars 2016 10 h 21
 
 At 11:40 PM -0700
 3/19/16, Mike Higgins wrote:
 
 >Well, there is an OpenSim.ini parameter for
 setting the minimum time
 >that a timer
 can ask for, and the default is 0.5 seconds.
 
 ==> MinTimerInterval =
 0.05
 
 
 >  Then there are other fundamental limits
 like the 11 times a second
 >heartbeat
 of
 >  OpenSim.  This makes me suspect
 that if I want accurate times, I have to time
 >  everything in increments of 0.0909090909
 seconds.
 
 Don't you find
 the Windows numbers too perfect? It's hard to believe
 
 in sub-microsecond accuracy. Maybe there is
 a bias in my script.
 
 
 
 integer ON;
 
 default {
 
       touch_start(integer n) {
          ON = ! ON;
          if (ON) llSetTimerEvent
 (0.1);
          else   
 llSetTimerEvent (0.0);
      }
 
      timer() {
          float t =
 llGetAndResetTime ();
      
    llSay (0, (string) (1000*t));
  
    }
 
 }
 
 
 
 -- Jeff
 _______________________________________________
 Opensim-dev mailing list
 [hidden email]
 http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
_______________________________________________
Opensim-dev mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: llSetTimerEvent accuracy / config

Jeff Kelley
At 8:45 PM +0000 3/20/16, Michel Beauregard wrote:

>if its the config in opensim you want to talk about and not the
>accuracy of the timer event itself  there is a good discussion here
>about that old subject for openrsim / SL :

I'm most interested in understanding the difference between .NET and MONO.

Thanks for the patch anyway. I'll give it a try.


-- Jeff
_______________________________________________
Opensim-dev mailing list
[hidden email]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
Loading...