LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

free processor time

Dear Sir or Madam,

What does "free processor time" mean. Why it is important.

Thanks in advance for your comments.
Sincerely,

Luis Diaz,
luis_diaz_ballote@hotmail.com
0 Kudos
Message 1 of 2
(2,311 Views)
Luis Diaz wrote:

> Dear Sir or Madam,
>
> What does "free processor time" mean. Why it is important.
>
> Thanks in advance for your comments.
> Sincerely,
>

Luis,
It all depends on where this reference came from and the context.
"free processor time" in general is the amount of time the processor has
where it is not doing anything specific. If you start up your PC for example

and do not run any applications then the processor has a lot of free time.
It is actually sitting in an idle loop , and ocassionally servicing
OS requests.

If you want "to free" some processor time that is another story. In labview
if you have a while loop with no timer inside the processor is running full
blast waiting to process any inputs and seeing if the loop should end.
this eats up pr
ocessor time for no reason. If the loop is a user interface
waiting for the user to press a button, you can add a 100ms wait inside the
loop.

The user will never see any difference but this "frees" the processor to do
other
tasks while it is waiting on the user.

If this does not cover what you are asking try again and give a little more
detail.
Kevin Kent
0 Kudos
Message 2 of 2
(2,311 Views)