Hi, I do *not* have a problem with Fink at the moment, but with a braindead 'gprof' on my MacOSX 10.4.5 system that only produces zeros in the output timing columns.

I have googled, scratched and sniffed and tried to look carefully on Fink package lists and search (perhaps) less carefully on Fink mail archives, but have not found a command line replacement for GPROF.

My real question is : Has anyone found out how to fix/replace gprof on MacOSX 10.4 ?

Here's my beginners Fink question. Is there a listing somewhere of 'all' the executables in a given package ? Maybe a happy gprof sits there somewhere.

Thank you,

Garry P. Gippert
København, Danmark


For the nonbelievers, here is some gprof output showing zeros in the timings column. This is inconsistent with 'man gprof' and mucho prior experience on other systems. Yes, -pg was used in compiling the C code (a silly little boggle word game simulator).


granularity: each sample hit covers 4 byte(s) no time accumulated

  %   cumulative   self              self     total
time   seconds   seconds    calls  ms/call  ms/call  name
  0.0       0.00     0.00   252978     0.00     0.00  _node_alloc [25]
0.0 0.00 0.00 98222 0.00 0.00 _node_addword [26]
  0.0       0.00     0.00    77365     0.00     0.00  _bogglescore [27]
0.0 0.00 0.00 26000 0.00 0.00 _node_traverse_score [28] 0.0 0.00 0.00 26000 0.00 0.00 _node_traverse_zero [29]
  0.0       0.00     0.00    16000     0.00     0.00  _recurs [30]
  0.0       0.00     0.00     1000     0.00     0.00  _dice_throw [31]
  0.0       0.00     0.00     1000     0.00     0.00  _dict_score [32]
  0.0       0.00     0.00     1000     0.00     0.00  _dict_zero [33]
  0.0       0.00     0.00     1000     0.00     0.00  _showbogg [34]
  0.0       0.00     0.00     1000     0.00     0.00  _srch [35]
  0.0       0.00     0.00       84     0.00     0.00  _move_alloc [36]
0.0 0.00 0.00 26 0.00 0.00 _node_traverse_count [37] 0.0 0.00 0.00 26 0.00 0.00 _node_traverse_found [38] 0.0 0.00 0.00 3 0.00 0.00 ___stub_getrealaddr [39] 0.0 0.00 0.00 1 0.00 0.00 _boggle_simulate [40]
  0.0       0.00     0.00        1     0.00     0.00  _dice_alloc [41]
  0.0       0.00     0.00        1     0.00     0.00  _dice_read [42]
  0.0       0.00     0.00        1     0.00     0.00  _dict_count [43]
  0.0       0.00     0.00        1     0.00     0.00  _dict_found [44]
  0.0       0.00     0.00        1     0.00     0.00  _dict_read [45]
  0.0       0.00     0.00        1     0.00     0.00  _main [46]
  0.0       0.00     0.00        1     0.00     0.00  _setcase [47]
  0.0       0.00     0.00        1     0.00     0.00  _srch_init [48]



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to