Leif Asbrink wrote:

void lir_sleep(int us)
{
timeBeginPeriod(1);
Sleep(us/1000);
timeEndPeriod(1);
}

This will be in Linrad-02.38, but I am curious on feedback from those
of you who actually use Linrad under Windows and who can compile from
source code. Do you see any effect of this change?


That should work, but the side effect of setting the resolution very low is an increase of the CPU time used by Windows... I used that technique in Winrad and I observed an increase of the CPU time when I did set the resolution to low values, as 1ms. After all, I guess that in order to have a more accurate resolution, Windows has to look at its wristwatch more often... :-)

73  Alberto  I2PHD


#############################################################
This message is sent to you because you are subscribed to
 the mailing list <linrad@antennspecialisten.se>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to