Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-31-2005, 03:58 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Unhappy Win32 version of Gprof - Problem


I have a question about the gprof profiling utility on Win32.
I tried it with a simple C program consisiting of just 1 'for'
loop. I used your gcc compiler to get a .out file for an input
to the gprof utility. I used the -x -A -l arguments to get the
number of times each line was executed. The result showed that
each line was only executed once. Could you tell me why this
might happen? The result should show that each line inside the
for loop should be executed the number of times the loop is

Also, where can I get the latest version of the gprof for
Win32? I spent some time searching for it but although I could
find most of your other utilities on the fsf website as well
as, I couldn't find gprof.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gprof problem bogdanpa Programming 2 09-19-2005 09:26 AM
Starting Win32 hlds via wine problem Ook Slackware 9 03-25-2005 01:31 PM
suse 9.0 & x-win32 problem petros Linux - Newbie 4 06-23-2004 08:00 AM
suse 9.0 & x-win32 problem petros Linux - Networking 1 06-22-2004 02:05 PM
Is there a gprof for C++? jhirshon Programming 2 04-29-2004 07:35 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration