delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/15/23:17:56

Message-ID: <3830CBE6.D44CAA76@lycosmail.com>
Date: Mon, 15 Nov 1999 22:13:42 -0500
From: Adam Schrotenboer <ajschrotenboer AT lycosmail DOT com>
X-Mailer: Mozilla 4.7 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: gprof and __dpmi_int
References: <19991115165902 DOT 02201 DOT 00001369 AT ng-ck1 DOT aol DOT com>
Reply-To: djgpp AT delorie DOT com

It does the samples statistically, and does not always get the numbers
right, also, it may be an effective 99%+, which rounds to 100%. DPMI_INT
is a function that handles all real mode calls, including file - I/O.
Still, it would perhaps be useful to be able to tell gprof to ignore
this fxn, since it is only useful if file I/O is the actual bottleneck.

Xavier Nayrac wrote:

> Hello everybody !
>
> I've encountered some problems using gprof.
> In both Flat profile and Call graph sections
> it gives me 100% of time for the __dpmi_int function.
> Even if I try gprof -f foo prog.exe.
>
> I think I've misunderstood something, but why ?
>
> BTW, gprof version is 2.8.1
>
> thanx
> --
> Xavier Nayrac
> ( Sorry for my poor english. )

- Raw text -


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