Problems with profiling (using gprof)



Hello,

I'm trying to profile (using gprof) the execution of gnumeric when it
is calculating the "fn-random.gnumeric" sheet. I've built gnumeric
using -pg in the CFLAGS.

Then i go with:

./gnumeric fn-random.gnumeric --quit

But the results of the profile are the following:

 %   cumulative   self              self     total
 time   seconds   seconds    calls  Ts/call  Ts/call  name
  0.00      0.00     0.00       31     0.00     0.00  io_context_gtk_get_type
  0.00      0.00     0.00       18     0.00     0.00  data_start
  0.00      0.00     0.00        7     0.00     0.00  icg_user_is_impatient
  0.00      0.00     0.00        2     0.00     0.00  handle_paint_events
  0.00      0.00     0.00        1     0.00     0.00
check_pango_attr_list_splice_bug
  0.00      0.00     0.00        1     0.00     0.00  gnumeric_arg_parse
  0.00      0.00     0.00        1     0.00     0.00  gnumeric_arg_shutdown
  0.00      0.00     0.00        1     0.00     0.00  icg_get_interrupted
  0.00      0.00     0.00        1     0.00     0.00  icg_set_transient_for
  0.00      0.00     0.00        1     0.00     0.00  icg_show_gui
  0.00      0.00     0.00        1     0.00     0.00  pathetic_qt_workaround
  0.00      0.00     0.00        1     0.00     0.00  store_plugin_state

I really don't see any "mathematical" function here (not to mention
the fact that all of the listed functions executed in a very small
fraction of time).

So i decided to rebuild gnumeric, but this time i used the
--disable-shared option when calling ./configure.
Unfortunatelly, i get the following error when trying to use =rand()
in a sheet cell:

Unable to open module file
"/home/lorotta/gnumeric/gnumeric-1.8.3Build/installdir//lib/gnumeric/1.8.3/plugins/fn-random/plugin".
 /home/lorotta/gnumeric/gnumeric-1.8.3Build/installdir//lib/gnumeric/1.8.3/plugins/fn-random/:
cannot read file data: Is a directory

(In the cell in which i tried to use the formula i can read the text
"Implementation for this function is not available).

Any ideas of what is wrong?

Cheers, Lorotta.



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