File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ REPORT=report_gprof.txt
22OPTS=" -Wall -Werror -Wno-pointer-to-int-cast"
33LIB=" ../mapcodelib/mapcoder.o"
44
5+ echo " ----------------------------------------------------------------" | tee -a $REPORT
56echo " Run gprof profiler..." | tee $REPORT
67date | tee -a $REPORT
8+ echo " ----------------------------------------------------------------" | tee -a $REPORT
79
810TEST=` which gprof`
911if [ " $TEST " = " " ]
Original file line number Diff line number Diff line change 11REPORT=report_normal.txt
22OPTS=" -Wall -Werror -Wno-pointer-to-int-cast"
33
4+ echo " ----------------------------------------------------------------" | tee -a $REPORT
45echo " Run normal..." | tee $REPORT
56date | tee -a $REPORT
7+ echo " ----------------------------------------------------------------" | tee -a $REPORT
68
79echo " " | tee -a $REPORT
810echo " Run with: -O0" | tee -a $REPORT
Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ LIB="../mapcodelib/mapcoder.o"
44
55export ASAN_OPTIONS=debug=true:strict_string_checks=1:detect_stack_use_after_return=true:detect_invalid_pointer_pairs=99999:detect_container_overflow=true:detect_odr_violation=2:check_initialization_order=true:strict_init_order=true
66
7+ echo " ----------------------------------------------------------------" | tee -a $REPORT
78echo " Run address sanitizer..." | tee $REPORT
89date | tee -a $REPORT
10+ echo " ----------------------------------------------------------------" | tee -a $REPORT
911
1012TEST=` which clang`
1113if [ " $TEST " = " " ]
Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ REPORT=report_valgrind.txt
22OPTS=" -Wall -Werror -Wno-pointer-to-int-cast"
33LIB=" ../mapcodelib/mapcoder.o"
44
5+ echo " ----------------------------------------------------------------" | tee -a $REPORT
56echo " Run valgrind" | tee $REPORT
67date | tee -a $REPORT
8+ echo " ----------------------------------------------------------------" | tee -a $REPORT
79
810TEST=` which valgrind`
911if [ " $TEST " = " " ]
You can’t perform that action at this time.
0 commit comments