How to get profile data?

fei yang <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
Hi ,
 
    I am a student coming from China and I am interesting in GC Algorithm. Now I write a new algorithm based sablevm1.0.9(include three parts: class-library-1.0.9, native-library-1.0.9, sablevm-1.0.9) in RedHat 7.3, with gcc 2.96. but I can't get profile data.
    First, I installed class-library, native-library, when configuring sablevm-1.0.9, I added option CFLAGS=-pg. After make and make intall, I used specjvm98 _201_compress to test, got gmon.out.
    Then, I used gprof to analyse gmon.out, I got the following result, no subfunctions's profile data.
 
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
  0.00      0.00     0.00       14     0.00     0.00  data_start
  0.00      0.00     0.00        2     0.00     0.00  getProperties
  0.00      0.00     0.00        1     0.00     0.00  parseConfig
  0.00      0.00     0.00        1     0.00     0.00  printVersionAndCopyright
^L
                        Call graph

granularity: each sample hit covers 4 byte(s) no time propagated
index % time    self  children    called     name
                0.00    0.00      14/14          main [18]
[1]      0.0    0.00    0.00      14         data_start [1]
-----------------------------------------------
                0.00    0.00       2/2           parseConfig [3]
[2]      0.0    0.00    0.00       2         getProperties [2]
-----------------------------------------------
                0.00    0.00       1/1           main [18]
[3]      0.0    0.00    0.00       1         parseConfig [3]
                0.00    0.00       2/2           getProperties [2]
-----------------------------------------------
                0.00    0.00       1/1           main [18]
[4]      0.0    0.00    0.00       1         printVersionAndCopyright [4]
-----------------------------------------------
^L
Index by function name
   [1] data_start              [3] parseConfig (gmon-start.c)
   [2] getProperties (gmon-start.c) [4] printVersionAndCopyright (gmon-start.c)
~
 
     I know the result is wrong, but I can't find where I had made the mistake. Can you help me ? Thanks!
 
    
 
                                                                     Yang Fei
 









---------------------------------
Do You Yahoo!?
150貌煤MP3路猫驴帽拢卢麓酶煤麓鲁毛么碌卯
庐梅娄戮隆拢卢卤茅录隆垄录潞驴谩录
1G戮1000拢卢禄垄碌莽煤漏拢隆

_______________________________________________
SableVM-devel mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-devel
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.