Changeset b7170a64 for src/benchmark/Makefile.am
- Timestamp:
- Oct 26, 2017, 12:16:10 PM (5 years ago)
- Branches:
- aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 6395817
- Parents:
- 4149d9d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/Makefile.am
r4149d9d rb7170a64 19 19 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 20 20 CC = @CFA_BINDIR@/@CFA_NAME@ 21 REPEAT = ${abs_top_srcdir}/tools/a.out 22 repeats = 30 21 TOOLSDIR = ${abs_top_srcdir}/tools/ 22 REPEAT = ${TOOLSDIR}repeat 23 STATS = ${TOOLSDIR}stat.py 24 repeats = 30 23 25 24 26 .NOTPARALLEL: 25 27 26 noinst_PROGRAMS = bench$(EXEEXT) ctxswitch-coroutine$(EXEEXT) ctxswitch-thread$(EXEEXT) sched-int$(EXEEXT) monitor$(EXEEXT) csv-data$(EXEEXT)28 noinst_PROGRAMS = 27 29 28 30 bench$(EXEEXT) : … … 41 43 ## ========================================================================================================= 42 44 ctxswitch$(EXEEXT): \ 43 ctxswitch- cfa_coroutine.run\44 ctxswitch-cfa_ thread.run\45 ctxswitch- upp_coroutine.run\46 ctxswitch-upp_ thread.run\47 ctxswitch- pthread.run45 ctxswitch-pthread.run \ 46 ctxswitch-cfa_coroutine.run \ 47 ctxswitch-cfa_thread.run \ 48 ctxswitch-upp_coroutine.run \ 49 ctxswitch-upp_thread.run 48 50 49 51 ctxswitch-cfa_coroutine$(EXEEXT): 50 ${ CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -DN=50000000 ctxswitch/cfa_cor.c52 ${AM_V_CC}${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -quiet -DBENCH_N=50000000 ctxswitch/cfa_cor.c 51 53 52 54 ctxswitch-cfa_thread$(EXEEXT): 53 ${ CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -DN=50000000 ctxswitch/cfa_thrd.c55 ${AM_V_CC}${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -quiet -DBENCH_N=50000000 ctxswitch/cfa_thrd.c 54 56 55 57 ctxswitch-upp_coroutine$(EXEEXT): 56 u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -DN=50000000 ctxswitch/upp_cor.cc58 ${AM_V_CC}u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -quiet -DBENCH_N=50000000 ctxswitch/upp_cor.cc 57 59 58 60 ctxswitch-upp_thread$(EXEEXT): 59 u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -DN=50000000 ctxswitch/upp_cor.cc61 ${AM_V_CC}u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -quiet -DBENCH_N=50000000 ctxswitch/upp_thrd.cc 60 62 61 63 ctxswitch-pthread$(EXEEXT): 62 @BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -I. -lrt -pthread -DN=50000000 ctxswitch/pthreads.c64 ${AM_V_CC}@BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -I. -lrt -pthread -DBENCH_N=50000000 ctxswitch/pthreads.c 63 65 64 66 ## ========================================================================================================= 65 67 creation$(EXEEXT) :\ 66 68 creation-pthread.run \ 67 creation-cfa_coroutine.run 68 creation-cfa_thread.run 69 creation-upp_coroutine.run 69 creation-cfa_coroutine.run \ 70 creation-cfa_thread.run \ 71 creation-upp_coroutine.run \ 70 72 creation-upp_thread.run 71 73 72 74 creation-cfa_coroutine$(EXEEXT): 73 ${ CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -DBENCH_N=500000000 creation/cfa_cor.c75 ${AM_V_CC}${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -quiet -DBENCH_N=500000000 creation/cfa_cor.c 74 76 75 77 creation-cfa_thread$(EXEEXT): 76 ${ CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -DBENCH_N=10000000 creation/cfa_thrd.c78 ${AM_V_CC}${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -quiet -DBENCH_N=10000000 creation/cfa_thrd.c 77 79 78 80 creation-upp_coroutine$(EXEEXT): 79 u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -DBENCH_N=50000000 creation/upp_cor.cc81 ${AM_V_CC}u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -quiet -DBENCH_N=50000000 creation/upp_cor.cc 80 82 81 83 creation-upp_thread$(EXEEXT): 82 u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -DBENCH_N=50000000 creation/upp_cor.cc84 ${AM_V_CC}u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -quiet -DBENCH_N=50000000 creation/upp_thrd.cc 83 85 84 86 creation-pthread$(EXEEXT): 85 @BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -I. -lrt -pthread -DBENCH_N=2500000 creation/pthreads.c87 ${AM_V_CC}@BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -I. -lrt -pthread -DBENCH_N=250000 creation/pthreads.c 86 88 87 89 ## ========================================================================================================= … … 92 94 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 Monitor.c 93 95 94 %.run : %$(EXEEXT) 96 %.run : %$(EXEEXT) ${REPEAT} 95 97 @rm -f .result.log 96 @./catchsig 98 @echo "------------------------------------------------------" 99 @echo $< 97 100 @${REPEAT} ${repeats} ./a.out | tee -a .result.log 98 @./stat.py .result.log 101 @${STATS} .result.log 102 @echo "------------------------------------------------------" 99 103 @rm -f a.out .result.log 104 105 ${REPEAT} : 106 @+make -C ${TOOLSDIR} repeat
Note: See TracChangeset
for help on using the changeset viewer.