25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
488 B

  1. TIMEFORMAT=%3lR
  2. SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
  3. pushd $SCRIPTPATH > /dev/null
  4. # _DEBUG
  5. # time g++ -fpermissive src/main.cpp -g -o ./bin/slime --std=c++17 || exit 1
  6. time clang++ -D_DEBUG -D_PROFILING -fpermissive main.cpp -g -o ./ftb --std=c++17 || exit 1
  7. # time clang++ -D_DEBUG -D_PROFILING -fpermissive cpu_info.cpp -g -o ./cpu_info --std=c++17 || exit 1
  8. echo ""
  9. # time valgrind --leak-check=full ./ftb
  10. time ./ftb
  11. # time ./cpu_info
  12. popd > /dev/null
  13. unset TIMEFORMAT