View Single Post
  #14  
Old 03-01-2010, 12:20 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally Posted by benpoke103 View Post
It seems to me it's more out of curiosity's sake rather than actual rating though.
Hertz is a measurement of Cycles per second. The inverse of Hertz is the duration of one of those cycles. At 200Mhz one of those cycles lasts 5 nano seconds. Different operations in the cpu can take anything from a half cycle to several cycles, so even looking at it that way, it's not very accurate. Counting how many of those cycles it took to complete a script would give you cpu time, and still couldn't be described as cycles per second, but cycles to complete. I'm just trying to say, unless your cheating yourself, you can't measure a script in hertz in anyway I can think of. Although you could describe a loop structure in a script as hertz, because it has a cycles per second that describes it. A 0.05 timeout loop is easy, it's 20Hz. I really don't know about a for loop or another kind of loop. Sorry if I got carried away, it's not very often people ask about things I know anything about. You guys rock you really do.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote