Subject: Profiling does not show accumulated time anymore on amd64 ?
To: NetBSD current <current-users@netbsd.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 07/13/2007 17:01:21
Hi,

I just noted that, on up to date -current GENERIC NetBSD/amd64, profiled
programs does not seems to record accumulated time anymore ...


Here is a command exmaple example, and elapsed time :

./clustalw-1.83/clustalw -infile=sequence.dat
        274.97s user 0.18s system 99% cpu 4:35.51 total

And the corresponding gprof(1) output :

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 341319843     0.00     0.00  open_penalty2
  0.00      0.00     0.00 227629561     0.00     0.00  open_penalty1
  0.00      0.00     0.00 227016564     0.00     0.00  ext_penalty1
  0.00      0.00     0.00 226587124     0.00     0.00  ext_penalty2
[...]
  0.00      0.00     0.00        1     0.00     0.00  sysconf
  0.00      0.00     0.00        1     0.00     0.00  tcgetattr
[...]
granularity: each sample hit covers 4 byte(s) no time propagated
[...]

NetBSD lanfeust.sis.pasteur.fr 4.99.23 NetBSD 4.99.23 (GENERIC) #2: Fri Jul 13 16:38:14 CEST 2007  njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/GENERIC amd64

Any idea ?

Thanks in advance,
Regards.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.