Kaynağa Gözat

Update run_profile.sh

blueloveTH 1 yıl önce
ebeveyn
işleme
e4cbb88e1d
1 değiştirilmiş dosya ile 2 ekleme ve 3 silme
  1. 2 3
      run_profile.sh

+ 2 - 3
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