Changeset 034165a for src/benchmark/Makefile.am
- Timestamp:
- Oct 26, 2017, 11:17:20 AM (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:
- 4149d9d
- Parents:
- f1dd17a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/Makefile.am
rf1dd17a r034165a 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 23 24 .NOTPARALLEL: 21 25 22 26 noinst_PROGRAMS = bench$(EXEEXT) ctxswitch-coroutine$(EXEEXT) ctxswitch-thread$(EXEEXT) sched-int$(EXEEXT) monitor$(EXEEXT) csv-data$(EXEEXT) … … 30 34 rm -f ./a.out ; 31 35 32 ctxswitch-coroutine$(EXEEXT):33 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 CorCtxSwitch.c34 @rm -f .result.log35 @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \36 ./a.out | tee -a .result.log ; \37 done38 @./stat.py .result.log39 @rm -f a.out .result.log40 41 ctxswitch-thread$(EXEEXT):42 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 ThrdCtxSwitch.c43 @rm -f .result.log44 @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \45 ./a.out | tee -a .result.log ; \46 done47 @./stat.py .result.log48 @rm -f a.out .result.log49 50 ctxswitch-pthread$(EXEEXT):51 @BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -lrt -pthread -DN=50000000 PthrdCtxSwitch.c52 @rm -f .result.log53 @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \54 ./a.out | tee -a .result.log ; \55 done56 @./stat.py .result.log57 @rm -f a.out .result.log58 59 sched-int$(EXEEXT):60 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 SchedInt.c61 @rm -f .result.log62 @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \63 ./a.out | tee -a .result.log ; \64 done65 @./stat.py .result.log66 @rm -f a.out .result.log67 68 monitor$(EXEEXT):69 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 Monitor.c70 @rm -f .result.log71 @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \72 ./a.out | tee -a .result.log ; \73 done74 @./stat.py .result.log75 @rm -f a.out .result.log76 77 36 csv-data$(EXEEXT): 78 37 @${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -quiet -DN=50000000 csv-data.c 79 38 @./a.out 80 39 @rm -f ./a.out 40 41 ## ========================================================================================================= 42 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.run 48 49 ctxswitch-cfa_coroutine$(EXEEXT): 50 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -DN=50000000 ctxswitch/cfa_cor.c 51 52 ctxswitch-cfa_thread$(EXEEXT): 53 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -DN=50000000 ctxswitch/cfa_thrd.c 54 55 ctxswitch-upp_coroutine$(EXEEXT): 56 u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -DN=50000000 ctxswitch/upp_cor.cc 57 58 ctxswitch-upp_thread$(EXEEXT): 59 u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -DN=50000000 ctxswitch/upp_cor.cc 60 61 ctxswitch-pthread$(EXEEXT): 62 @BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -I. -lrt -pthread -DN=50000000 ctxswitch/pthreads.c 63 64 ## ========================================================================================================= 65 creation$(EXEEXT) :\ 66 creation-pthread.run \ 67 creation-cfa_coroutine.run \ 68 creation-cfa_thread.run \ 69 creation-upp_coroutine.run \ 70 creation-upp_thread.run 71 72 creation-cfa_coroutine$(EXEEXT): 73 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -DBENCH_N=500000000 creation/cfa_cor.c 74 75 creation-cfa_thread$(EXEEXT): 76 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -DBENCH_N=10000000 creation/cfa_thrd.c 77 78 creation-upp_coroutine$(EXEEXT): 79 u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -DBENCH_N=50000000 creation/upp_cor.cc 80 81 creation-upp_thread$(EXEEXT): 82 u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -DBENCH_N=50000000 creation/upp_cor.cc 83 84 creation-pthread$(EXEEXT): 85 @BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -I. -lrt -pthread -DBENCH_N=2500000 creation/pthreads.c 86 87 ## ========================================================================================================= 88 sched-int$(EXEEXT): 89 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 SchedInt.c 90 91 monitor$(EXEEXT): 92 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 Monitor.c 93 94 %.run : %$(EXEEXT) 95 @rm -f .result.log 96 @./catchsig 97 @${REPEAT} ${repeats} ./a.out | tee -a .result.log 98 @./stat.py .result.log 99 @rm -f a.out .result.log
Note: See TracChangeset
for help on using the changeset viewer.