Google performance tools''
Download them from here, look for google-perftools-1.5.tar.gz
cd goog-perf ./configure --prefix=${PWD} make check make make install- Set these:
#path to your google perf installation
export PATH=${PATH}:/scratch/data/lucaci/Google-perf/google-perftools-1.5/bin
export CPUPROFILE=marlin.prof
##do not use this with pprof, it does not work
##source /afs/desy.de/group/it/ilcsoft/v01-08/init_ilcsoft.sh
export MARLIN="/afs/desy.de/group/it/ilcsoft/v01-08/Marlin/v00-11"
export PATH="$MARLIN/bin:$PATH"
export LCIO="/afs/desy.de/group/it/ilcsoft/v01-08/lcio/v01-12-02"
export PATH="$LCIO/tools:$LCIO/bin:$PATH"
MYPATH=/scratch/data/lucaci/soft-test/myInstall/lib
export MARLIN_DLL=
export MARLIN_DLL=/scratch/data/lucaci/Google-perf/google-perftools-1.5/lib/libprofiler.so
export MARLIN_DLL=${MARLIN_DLL}:${MYPATH}/libraw2calohit.so
export MARLIN_DLL=${MARLIN_DLL}:${MYPATH}/librecoSiPM.so
export MARLIN_DLL=${MARLIN_DLL}:${MYPATH}/librecoAnalysis.so
export MARLIN_DLL=${MARLIN_DLL}:${MYPATH}/libcellGeometry.so
export MARLIN_DLL=${MARLIN_DLL}:${MYPATH}/libcalicesim.so
export MARLIN_DLL=${MARLIN_DLL}:${MYPATH}/libPrivate.soRun your Marlin to get its profile (in this case, you'll get the file marlin.prof)
Marlin <your-steering-file>
- Get the pdf file with the performance:
pprof --pdf /afs/desy.de/group/it/ilcsoft/v01-08/Marlin/v00-11/bin/Marlin marlin.prof >| x.pdf
