delorie.com is funded by banner ads.
  www.delorie.com/djgpp/v2faq/faq109.html   search  

| Previous | Next | Up | Top |

13.5 Why is __dpmi_int so heavily used?

Q: I've profiled my program and found that the routine which takes 60% of the running time is some obscure library function called __dpmi_int. Can't you guys make your library right?


A: Does your program use I/O or other real-mode services (like BIOS) extensively? All those services are invoked through a DPMI service call which is issued by __dpmi_int. So what the profile really says is that the running time of your program is governed by time-consuming operations such as disk I/O.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright ⌐ 1998   by Eli Zaretskii     Updated Sep 1998  

Powered by Apache!

You can help support this site by visiting the advertisers that sponsor it! (only once each, though)