Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 12-16-2009, 03:17 AM   #1
LQ Newbie
Registered: Dec 2009
Posts: 6

Rep: Reputation: 0
Regarding gprof:

Hi all,

To generate flat profile.When I run application with fallowing commond ..

gprof sample1 gmon.out>gprof.log

Its generating fallowing log file its not giving profile information.

Flat profile:

Each sample counts as 0.01 seconds.
no time accumulated

% cumulative self self total
time seconds seconds calls Ts/call Ts/call name

% the percentage of the total running time of the
time program used by this function.

cumulative a running sum of the number of seconds accounted
seconds for by this function and those listed above it.

self the number of seconds accounted for by this
seconds function alone. This is the major sort for this

calls the number of times this function was invoked, if
this function is profiled, else blank.

self the average number of milliseconds spent in this
ms/call function per call, if this function is profiled,
else blank.

total the average number of milliseconds spent in this
ms/call function and its descendents per call, if this
function is profiled, else blank.

name the name of the function. This is the minor sort
for this listing. The index shows the location of
the function in the gprof listing. If the index is
in parenthesis it shows where it would appear in
the gprof listing if it were to be printed.

What may be the reason anybosy having idea regarding it.

pls kindly help me.




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
Regarding gprof issue: shekar_08 Linux - General 3 12-12-2009 06:56 AM
need help in gprof command sip07uak Linux - Newbie 1 08-19-2008 02:48 AM
gprof problem bogdanpa Programming 2 09-19-2005 09:26 AM
gprof error Sinner6 Linux - Software 0 07-12-2004 10:06 AM
Is there a gprof for C++? jhirshon Programming 2 04-29-2004 07:35 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:47 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