delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/30/12:45:20

From: gbushell AT cblsouth DOT demon DOT co DOT uk (gareth Bushell)
Newsgroups: comp.os.msdos.djgpp
Subject: Profiling code
Date: Mon, 30 Mar 1998 15:01:39 GMT
Organization: CBL Technology Ltd
Message-ID: <33381433wnr@cblsouth.demon.co.uk>
Reply-To: gbushell AT cblsouth DOT demon DOT co DOT uk
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am trying to optimize some code so I thought I'd use gprof.
the problem is that when I run the code the table output by 
gprof contains an entry _mono_putc. I don't use this function but it is 
taking up almost 70% of the execution time. I have a dual display 
(MDA+VGA) and output on the mono screen is loads of meaning less numbers 
(I assume function addresses) Is there a way to stop this behaviour??

I think it could be taking up so much time because I use a origonal IBM 
XT MGA adapter which I fear may be very slow to write to???

Help would be much appreciated and also any advice on profiling??

Cheers 

Garth

-- 
--------------------------------------------------
Email : garth_42 AT rock DOT com


- Raw text -


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