Jump to content




[System_Stats] What Are The Computers Clocked At?

computer

  • You cannot reply to this topic
5 replies to this topic

#1 jadelade

  • Members
  • 43 posts

Posted 08 August 2013 - 03:17 AM

I have bean looking around for the clocking for the computers but i cant fined it! Could someone help?

#2 GamerNebulae

  • Members
  • 216 posts
  • LocationNetherlands

Posted 08 August 2013 - 04:37 AM

View Postjadelade, on 08 August 2013 - 03:17 AM, said:

I have bean looking around for the clocking for the computers but i cant fined it! Could someone help?

Do they even have clock speeds? xD

#3 ben657

  • Members
  • 65 posts

Posted 08 August 2013 - 05:51 AM

I'm not completely certain, but I'm pretty sure they match the games tick speed. So assuming no server lag or anything, it'd be 20 ticks per second

EDIT: no actually that would be ridiculously slow... Ignore that, I have no idea :P

#4 Robert00001

  • Members
  • 15 posts
  • LocationI am in your room, disguised as an object :)

Posted 08 August 2013 - 06:40 AM

The speed of the computer depends on the speed of the server (yes, even single player is a server internally).

And the minimum interval of a timer is one tick (1/20th of a second), but if you do
os.queueEvent("dummy") os.pullEvent("dummy")
it'll do it 20 times a tick on my computer

#5 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

Posted 08 August 2013 - 09:16 AM

View PostRobert00001, on 08 August 2013 - 06:40 AM, said:

The speed of the computer depends on the speed of the server (yes, even single player is a server internally).

And the minimum interval of a timer is one tick (1/20th of a second), but if you do
os.queueEvent("dummy") os.pullEvent("dummy")
it'll do it 20 times a tick on my computer

This is just a guess, but wouldn't this be a little faster?

os.queueEvent"" coroutine.yield""

Also, try on a clean world with only 1 active computer. It is much faster then a world with lots of computers.

#6 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 08 August 2013 - 05:21 PM

Computers don't have a clock speed, CC runs them as fast as it can except when they're waiting for an event (which should be most of the time if the program is well written)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users