diff --git a/run_profile.sh b/run_profile.sh index f0ba16b0..68316f8b 100644 --- a/run_profile.sh +++ b/run_profile.sh @@ -1,7 +1,6 @@ python prebuild.py SRC=$(find src/ -name "*.cpp") -clang++ -pg -O1 -std=c++17 -stdlib=libc++ -frtti -Wfatal-errors -o main $SRC src2/main.cpp -Iinclude -time ./main benchmarks/fib.py -mv benchmarks/gmon.out . +g++ -pg -Og -std=c++17 -frtti -Wfatal-errors -o main $SRC src2/main.cpp -Iinclude +./main benchmarks/fib.py gprof main gmon.out > gprof.txt rm gmon.out