LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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


Hi,

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
iterated.

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 sourceforge.net, I couldn't find gprof.

Thanks!
 
  


Reply


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 08:26 AM
Starting Win32 hlds via wine problem Ook Slackware 9 03-25-2005 12:31 PM
suse 9.0 & x-win32 problem petros Linux - Newbie 4 06-23-2004 07:00 AM
suse 9.0 & x-win32 problem petros Linux - Networking 1 06-22-2004 01:05 PM
Is there a gprof for C++? jhirshon Programming 2 04-29-2004 06:35 PM


All times are GMT -5. The time now is 05:40 AM.

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