delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/20:46:01

From: "matthew p. conte" <spam AT somebody DOT else>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with Gprof.exe
Date: Wed, 4 Mar 1998 20:30:21 -0500
Organization: little, if any
Lines: 14
Message-ID: <6dkuun$q8k@sjx-ixn11.ix.netcom.com>
References: <34FDED0E DOT 470EFD28 AT concentric DOT net>
Reply-To: "matthew p. conte" <dont AT bother DOT com>
NNTP-Posting-Host: alb-ny9-19.ix.netcom.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

D. Huizenga wrote in message <34FDED0E DOT 470EFD28 AT concentric DOT net>...
>Hi,
>  I was going to try to profile a game I am writing to try and speed up
>the drawing routines, but every time I run "gprof a.exe" I get the
>message "gmon.out: No such file or directory (ENOENT)".  Was "gmon.out"
>supposed to come with DJGPP?  Thanks for your help.

Dan, make sure you are compiling/linking your program with the -pg switch.
Then when you run your program, it will emit a 'gmon.out' file.  Then you
can run gprof on your executable.

Matt.


- Raw text -


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