The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timerd not working properly?
Author Message
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #11
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
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Timerd not working properly? - karma - 01-16-2016, 08:35 PM
RE: Timerd not working properly? - RunBody - 01-17-2016, 05:18 AM
RE: Timerd not working properly? - karma - 01-17-2016, 05:22 AM
RE: Timerd not working properly? - RunBody - 01-17-2016, 05:23 AM
RE: Timerd not working properly? - karma - 01-17-2016, 08:34 AM
RE: Timerd not working properly? - RunBody - 01-17-2016, 05:34 PM
RE: Timerd not working properly? - karma - 01-17-2016, 07:48 PM
RE: Timerd not working properly? - XuN - 01-18-2016, 06:53 PM
RE: Timerd not working properly? - karma - 01-18-2016 07:22 PM
RE: Timerd not working properly? - karma - 01-21-2016, 09:47 PM
RE: Timerd not working properly? - karma - 01-22-2016, 02:57 AM
RE: Timerd not working properly? - karma - 02-07-2016, 05:10 AM
RE: Timerd not working properly? - karma - 02-07-2016, 10:11 PM
RE: Timerd not working properly? - Coruja - 02-15-2016, 10:45 AM
RE: Timerd not working properly? - karma - 02-17-2016, 07:30 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)