delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/12/11/10:01:19

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Carlo <mail AT bo DOT uf>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: why inportb and outportb are so time expensive ?
References: <b3Aud.18735$Zk DOT 327000 AT twister2 DOT libero DOT it> <01c4df88$Blat.v2.2.2$3e1f4700 AT zahav DOT net DOT il>
In-Reply-To: <01c4df88$Blat.v2.2.2$3e1f4700@zahav.net.il>
Lines: 14
Message-ID: <gTDud.16862$Lg7.531795@twister1.libero.it>
Date: Sat, 11 Dec 2004 14:55:08 GMT
NNTP-Posting-Host: 151.38.171.38
X-Complaints-To: abuse AT net24 DOT it
X-Trace: twister1.libero.it 1102776908 151.38.171.38 (Sat, 11 Dec 2004 15:55:08 MET)
NNTP-Posting-Date: Sat, 11 Dec 2004 15:55:08 MET
Organization: [Infostrada]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
> 
> 
> On what OS?
> 
> Also, can you give more details, like how much time each call to
> inportb/outportb takes?
My application runs on a dos machine (MS-Dos 6.0) with a i386sx 
processor @ 33 Mhz clock, with cwsdpmi r5.
One program loop takes about 1 mSec, 75% of this millisecond spent for 
inportb and outportb (with an average of 30/40 calls to that functions). 
Without any of these calls the program runs up to 10 times faster.

Carlo

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019