Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.msdos.djgpp > #1729
| Date | 2014-02-15 16:37 +0200 |
|---|---|
| From | Eli Zaretskii <eliz@gnu.org> |
| Subject | Re: __dpmi_int() or int86() ? |
| Message-id | <83d2iobfwl.fsf@gnu.org> |
| References | <op.xbbh8knb5zc71u@localhost> |
| Newsgroups | comp.os.msdos.djgpp |
| Organization | None provided |
> From: "Rod Pemberton" <dont_use_email@xnohavenotit.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.
Back to comp.os.msdos.djgpp | Previous | Next — Previous in thread | Find similar | Unroll thread
__dpmi_int() or int86() ? "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2014-02-15 05:03 -0500 Re: __dpmi_int() or int86() ? Eli Zaretskii <eliz@gnu.org> - 2014-02-15 16:37 +0200
csiph-web