Article View: comp.os.os2.programmer
Article #2168precise event timing?
From: John Navas
Date: Mon, 28 Sep 1992 08:42
Date: Mon, 28 Sep 1992 08:42
20 lines
1416 bytes
1416 bytes
ochealth@unixg.ubc.ca (ochealth) writes:
> I have a program I'd like to write, and I want to know if it can be
> done:
> I need to write to a port every 10-30 us or so (smaller is better)
> worst case. Writes to the port may not be necessary every time.
> Is there a good way to generate a timing signal that would wake up
> a thread, so it could perform the write? Keep in mind the 20
> microsecond or so needed between every signal. It should be fairly
> accurate, but the exact value doesn't matter much.
Given that you're talking about 40,000 interrupts per second, it would
simply not be possible. OS/2 is rated at 1,000 interrupts per second.
I've been able to get up to about 12,000 per second on a 486DX-25, but
that's with a dedicated system doing no useful work, and it's still
far short of your requirements.
Best regards,
John
Technical Details
Message-ID:
<1666.18.uupcb@uttsbbs.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!decwrl!csus.edu!netcom.com!netcomsv!boo!uttsbbs!john.navasShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!wupost!sdd.hp.com!decwrl!csus.edu!netcom.com!netcomsv!boo!uttsbbs!john.navas From: john.navas@uttsbbs.uucp (John Navas) Newsgroups: comp.os.os2.programmer Subject: precise event timing? Message-ID: <1666.18.uupcb@uttsbbs.uucp> Date: 28 Sep 92 08:42:00 GMT Distribution: world Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591 Reply-To: john.navas@uttsbbs.uucp (John Navas) Lines: 20