[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linrad] Re: Windows Timing Issues and WSE Control



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@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to  <linrad-request@xxxxxxxxxxxxxxxxxxxxx>

LINRADDARNIL