karma 
Moderator
   
Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3
![]()
|
RE: Timerd not working properly?
The problem is that timerd is imprecise and unreliable for "precision" timing; it would be still acceptable an error of +-0.2, but right now it's bigger.
Consider this, on a vanilla sphere (default scripts, empty world) running on a i7:
Code:
10:13:(funzioni.scp,14)timerd: 6245; it should trigger at 6260
10:13:1:'dnolok' commands 'timerdtest 15'=1
10:13:(funzioni.scp,7)timerd fired: 6263
10:13:(funzioni.scp,14)timerd: 6283; it should trigger at 6298
10:13:1:'dnolok' commands 'timerdtest 15'=1
10:13:(funzioni.scp,7)timerd fired: 6303
10:13:(funzioni.scp,14)timerd: 6333; it should trigger at 6348
10:13:1:'dnolok' commands 'timerdtest 15'=1
10:13:(funzioni.scp,7)timerd fired: 6353
10:13:(funzioni.scp,14)timerd: 6361; it should trigger at 6376
10:13:1:'dnolok' commands 'timerdtest 15'=1
10:13:(funzioni.scp,7)timerd fired: 6383
In this case the problem may not be the performance.
|
|
01-18-2016 07:22 PM |
|
|