Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-09-2007
Ewgenijkkg Ewgenijkkg is offline
Registered User
 
Name: Ewgenij Sokolovski
Organization: RWTH
Project: Rove
 
Join Date: Mar 2007
Posts: 36
Profiling IcePatch2 with gprof

Hello. Is it possible to profile IcePatch2 with gprof? I added the -pg flag to the link and compile flags in the makefile. After the run of the IcePatch2-Client the file gmon.out was created as it should have been. But as I tried to start gprof with this file, I got an error message that gmon.out doesn't contain any data about the call graph.

Regards
Ewgenij
Reply With Quote
  #2 (permalink)  
Old 07-09-2007
beagles's Avatar
beagles beagles is offline
ZeroC Staff
 
Name: Brent Eagles
Organization: ZeroC, Inc
Project: Ice Developer
 
Join Date: Feb 2003
Location: Newfoundland
Posts: 110
I've used gprof on various parts of Ice from time to time, so it should be possible. I suggest revisiting your build options and make sure that all of the relevant parts of Ice are built with the proper command line options.

Out of curiousity, why are you profiling IcePatch2? Is there a particular aspect of IcePatch2 performance that you are concerned about?

Cheers,
Brent
Reply With Quote
  #3 (permalink)  
Old 07-09-2007
Ewgenijkkg Ewgenijkkg is offline
Registered User
 
Name: Ewgenij Sokolovski
Organization: RWTH
Project: Rove
 
Join Date: Mar 2007
Posts: 36
Hello, thank you No I'm not concerned about the performance of IcePatch2. I just wanted to find out which functions are called by which other functions while it is running. So I wanted the call graph of gprof to give me that information.

Ewgenij
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IcePatch2 - Decompressor panchubi Help Center 1 01-31-2007 03:21 PM
Icepatch2 in java panchubi Help Center 1 01-24-2007 08:38 PM
Using IcePatch2 with Java zhi Help Center 1 12-18-2006 02:13 AM
IcePatch2 and IceBox sinofool Help Center 2 10-30-2006 09:33 PM
IcePatch2 modify hellocyf Patches 3 07-26-2006 01:38 AM


All times are GMT -4. The time now is 12:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.