Google performance tools''

#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.so

Marlin <your-steering-file>

pprof --pdf /afs/desy.de/group/it/ilcsoft/v01-08/Marlin/v00-11/bin/Marlin marlin.prof >| x.pdf

Google performance tools (last edited 2010-05-20 12:35:00 by lucaci)