delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Andrew Cottrell <andspam DOT at DOT swiftdsl DOT dot DOT com DOT dot DOT au AT unknown DOT addr> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Thread Swithing Time in pth1.3.7? |
Date: | Thu, 12 Feb 2004 17:28:51 +1100 |
Organization: | HOME |
Message-ID: | <027m20lhm9cj73mnuuub6jkmk0bqlveuvu@4ax.com> |
References: | <78a4a70a DOT 0402111922 DOT 59344047 AT posting DOT google DOT com> |
X-Newsreader: | Forte Agent 1.93/32.576 English (American) |
MIME-Version: | 1.0 |
Lines: | 19 |
NNTP-Posting-Host: | 202.154.115.197 |
X-Trace: | 1076566997 news.syd.swiftdsl.com.au 27644 202.154.115.197 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>I use osilliscope to measure the signal from parallel port and find >that that the the time beteen rising edges is around 760 microseconds! >To be honest, it is too large to use in a time-critical environment. This is a very good result. Have a look at the parallel port spec and the access times for the interface and you will find that the timing is all to do with the access time of the ic. A better way is to use the PC timer tick and count the number of itteractions per tick and then divide the numbers to get the time and make sure you do this for a number of seconds to give a better average. And do NOT run the test under Windows as Windows steals time and CPU resources even if you are running in full screen. Andrew
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |