LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-26-2002, 03:55 PM   #1
togunter
LQ Newbie
 
Registered: Apr 2002
Location: Los Angeles
Distribution: Red Hat 7.0 & 7.2
Posts: 4

Rep: Reputation: 0
setting gprof sampling time?


Hi-
I'm trying to profile some code on Red Hat 7.2 using "gprof". I am able to successfully profile, but the sampling time is pretty coarse. Is there anyway to change this? I have been able to use the "gprof -s" option to concatenate results from several runs, but it takes too long to get good statistics from this.

are there any other good profiling tools?

Why is the sampling even necessary? i would assume that compiling with "gcc -pg" would allow gcc to instrument every function call so that sampling would not be necessary.

thanks for any help

--tim
 
  


Reply



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
now sampling 'Santa Fe'. STILL no internet useing wireless adapter! randell6564 Linux - Wireless Networking 1 11-28-2005 07:08 AM
gprof problem bogdanpa Programming 2 09-19-2005 08:26 AM
Setting System Time: kernel in wrong time zone warrenweiss Linux - General 7 05-15-2004 03:25 PM
Is there a gprof for C++? jhirshon Programming 2 04-29-2004 06:35 PM
audio sampling Skews! microtim Programming 2 06-23-2003 06:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration