[syslinux] Req: download timer

Andrew Stuart andrew at shopcusa.com
Wed Mar 17 15:09:12 PDT 2010


On 3/17/2010 11:41 AM, H. Peter Anvin wrote:
> On 03/16/2010 09:45 AM, Gene Cumm wrote:
>>
>> Well, the lack of a precision timer in the Syslinux COM32 library may
>> present issues. The only thing I see is the times() function, which
>> returns the clock count (around 18.2 ticks per second; I think 55ms
>> per cycle). hpa made reference to INT 1Ah in the declaration of this
>> function however it still only looks at the same data. There might be
>> a possibility of accessing the CMOS RTC via INT 70h (at I believe 1024
>> Hz) but I believe that would require writing and installing an ISR.
>>
>> Aside from that, it's a simple matter of copying a file, discarding
>> the data as you go. Such a COM32 module could be used by any variant.
>>
>
> Can you really make a claim of needing more than 55 ms accuracy for the
> download time? There are a number of ways to get higher precision on
> commodity hardware, but it's complicated.
>
> -hpa

Seems to me, that would be more then sufficient to gauge performance, at 
least in what I am looking for.

-A




More information about the Syslinux mailing list