Difference between revisions of "Lpc"
From Wiki
m (Reverted edits by 69.194.112.55 (Talk); changed back to last version by Kedrick Valorite) |
|||
Line 8: | Line 8: | ||
for %test 1 1000 | for %test 1 1000 | ||
{ | { | ||
− | + | set %speedTest %speedTest + 1 | |
} | } | ||
set %endTimeNormal #sysTime - %beginTimeNormal | set %endTimeNormal #sysTime - %beginTimeNormal |
Revision as of 11:52, 6 July 2006
⇔ | References the current setting for linesPerCycle, which determines how many lines are processed during each cycle that EasyUO is operating. One cycle is 1/20th of a second. |
Example
set #lpc 10 set %beginTimeNormal #sysTime for %test 1 1000 { set %speedTest %speedTest + 1 } set %endTimeNormal #sysTime - %beginTimeNormal set #lpc 250 set %beginTimeFast #sysTime for %test 1 1000 { set %speedTest %speedTest + 1 } set %endTimeFast #sysTime - %beginTimeFast display ok at normal LPC the time was , #spc , %endTimeNormal , $At a fast LPC the time was , #spc , %endTimeFast
See also
Main Page | Documentation |