www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2014/02/15/09:38:12

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Sat, 15 Feb 2014 16:37:46 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: __dpmi_int() or int86() ?
In-reply-to: <op.xbbh8knb5zc71u@localhost>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp AT delorie DOT com
Message-id: <83d2iobfwl.fsf@gnu.org>
References: <op DOT xbbh8knb5zc71u AT localhost>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Rod Pemberton" <dont_use_email AT xnohavenotit DOT cnm>
> Date: Sat, 15 Feb 2014 05:03:46 -0500
> 
> But, which is _actually_ faster with CWSDPMI for calling
> RM interrupts?  PMODEDJ?  Is it faster to use __dpmi_int()
> or to use int86()?  Has anyone actually timed this, in the
> past perhaps?  I.e., how does the combined overhead of each
> DJGPP call and DPMI portion compare for both?

I didn't time this, but I don't think the differences matter much.
Any way you do it, there's a need for two mode switches.  A mode
switch eats up thousands of CPU cycles, which is orders of magnitude
more than any overhead incurred by an extra function call.

- Raw text -


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