[Clam-devel] playing with fftw3 wisdom

Pau Arumi parumi at iua.upf.edu
Mon Jun 11 03:52:02 PDT 2007


En/na Roman Goj ha escrit:
> Hi!
> 
> I finally started fooling around with CLAM's code (yay!). I've got a
> better feeling now of how the chord extraction works and to try to
> improve something at least a bit I started hacking at the first thing
> that seemed more than just vaguely familiar - the fftw3 code :)
> 
> Correct me if I'm wrong (and I probably am...) - to make CLAM use
> fftw3 and not the other fft implementations I should just change the
> "# clam_processing options" lines in the SConstruct to say yes for
> 'with_fftw3' ... there's probably a nicer way to do it, right?

definitely:
$ scons with_fftw3=1

and
$ scons --help
tells you everything.

 > (...)
> Also - another thing - do you use any profilers for checking which
> parts of the code take most time? I wanted to try this, but for now
> dropped the subject in favour of tweaking fftw, but do you have any
> advice on profiling CLAM?

in linux valgrind is very useful.

cheers!
pau




More information about the clam-devel mailing list