bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Profiling


From: dmitry shkurko
Subject: Profiling
Date: Thu, 13 Jan 2005 13:35:37 +0600

   I tried to profile program with fork(). After execution completed 4
gmon.out.<pid>
   files were created. 
   
   All of them, except from parent process, contained 0 execution times. 

   Then I tried to execute gprof -s <progname> gmon.out.*. 
   It took more than 7 hours and didn't finish.   
   Executing gprof -s with single gmon.out.<pid> takes more than an hour and 
   does not finish.

   gprof -v gives GNU gprof 2.15.90.0.1.1.
   glibc's version is 2.3.3.
   Compiler is Intel's ifort and Intel's icc.
   
   As I know problem with 0 times is old
   (http://lists.gnu.org/archive/html/bug-gnu-utils/2001-09/msg00047.html).
   Can anybody give me more information or point me the correct place to ask 
   about 'fork and gprof' issue?
  
   Anyway, merging gmon.out files behaves strangely, especially for single file.

   My apologies for previous casual letter.
   
   Dmitry.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]