Difference between revisions of "Lpc"

From Wiki
Jump to: navigation, search
m (#tileType)
Line 1: Line 1:
__NOTOC__
+
{{header|result|rw|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.}}
== #lpc ==
+
'''Result System Variables'''
+
=== Description ===
+
{{rw}}
+
 
+
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 ====
 
==== Example ====
Line 28: Line 22:
  
 
</pre>
 
</pre>
==== See Also ====
+
{{footer}}
{|
+
| Width=200px | [[linesPerCycle]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Result|Result System Variables]]
+
|}
+

Revision as of 11:12, 26 August 2005

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