Re: [LIP] Profiling a C program

Y Giridhar Appaji Nag <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/03/12 23:59 +0530, Logu said ...
> I am trying to profile a simple C program, but I am not getting correct 
> values under the  "cumulative seconds"  and "self seconds" column for the 
> functions. I always get them as 0.00.

Perhaps the time spent was really 0.00 (as in, it could've been 0.001
seconds and reported as 0.00).  Also, check if you optimised out code
from your 'simple program' while compiling it.

Giridhar

- -- 
Y Giridhar Appaji Nag | http://www.appaji.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH2Qs64eu+pR04mIcRAvEHAKDnzWP29VOzV41DG9/S29gk1/c1zQCcDpRs
uFTrchEni4oLYZEbW55MZ6w=
=VnOU
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.