File: how-to-profile.txt

package info (click to toggle)
eclib 20160720-2~bpo8%2B2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 5,092 kB
  • sloc: cpp: 46,234; makefile: 236; sh: 108
file content (8 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
make clean
CXXFLAGS='-pg' LDFLAGS='-pg -static' ./configure --prefix=$PWD --with-flint=/usr/local --with-pari=/usr/local
make
cd tests # or progs
libtool --mode=execute ./tmanin
# this creates gmon.out
libtool --mode=execute gprof ./tmanin| less