Răsfoiți Sursa

Update run_profile.sh

blueloveTH 1 an în urmă
părinte
comite
e4cbb88e1d
1 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  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