Re: Handle Leaks with Microsoft.XMLDOM
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Handle Leaks with Microsoft.XMLDOM

From: Dr John Stockton <jrs@merlyn.demon.co.uk>
Date: Wed Nov 30 2005 - 22:48:50 CET

JRS: In article <dmiv6e$knn$1$8300dec7@news.demon.co.uk>, dated Wed, 30
Nov 2005 01:27:40 local, seen in news:comp.lang.javascript, Richard
Cornford <Richard@litotes.demon.co.uk> posted :
>rf wrote:
><snip>
>> The resolution of any function that access the system clock
>> (which is updated at timer tick) would be exactly the same
>> as the timer tick. There is, after all, only one clock.
><snip>
>
>I am not sure that you can go that far. The resolution of a function
>that accesses the system clock can be no better than the OS tick, but it
>could be worse.

A browser writer *could* go further.

In the PC architecture, the 54.9 ms clock is obtained by division by
65536, and the signal that drives that can be divided by other numbers.
Signals of much higher frequency can be read in Win98/PII and higher -
there's the RDTSC instruction, and the performance counter.

Additionally, there's the PC RTC, driven by a 32 kHz crystal, which
could be used.
 

-- 
 © John Stockton, Surrey, UK.  ?@merlyn.demon.co.uk   Turnpike v4.00   MIME. ©
 Web  <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
 Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Received on Sat Dec 3 04:34:06 2005