Changes in src/benchmark/Makefile.am [b7170a64:d67cdb7]
- File:
-
- 1 edited
-
src/benchmark/Makefile.am (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/Makefile.am
rb7170a64 rd67cdb7 19 19 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 20 20 CC = @CFA_BINDIR@/@CFA_NAME@ 21 TOOLSDIR = ${abs_top_srcdir}/tools/22 REPEAT = ${TOOLSDIR}repeat23 STATS = ${TOOLSDIR}stat.py24 repeats = 3025 21 26 .NOTPARALLEL: 27 28 noinst_PROGRAMS = 22 noinst_PROGRAMS = bench$(EXEEXT) ctxswitch-coroutine$(EXEEXT) ctxswitch-thread$(EXEEXT) sched-int$(EXEEXT) monitor$(EXEEXT) csv-data$(EXEEXT) 29 23 30 24 bench$(EXEEXT) : … … 36 30 rm -f ./a.out ; 37 31 32 ctxswitch-coroutine$(EXEEXT): 33 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 CorCtxSwitch.c 34 @rm -f .result.log 35 @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 done 38 @./stat.py .result.log 39 @rm -f a.out .result.log 40 41 ctxswitch-thread$(EXEEXT): 42 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 ThrdCtxSwitch.c 43 @rm -f .result.log 44 @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 done 47 @./stat.py .result.log 48 @rm -f a.out .result.log 49 50 ctxswitch-pthread$(EXEEXT): 51 @BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -lrt -pthread -DN=50000000 PthrdCtxSwitch.c 52 @rm -f .result.log 53 @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 done 56 @./stat.py .result.log 57 @rm -f a.out .result.log 58 59 sched-int$(EXEEXT): 60 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 SchedInt.c 61 @rm -f .result.log 62 @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 done 65 @./stat.py .result.log 66 @rm -f a.out .result.log 67 68 monitor$(EXEEXT): 69 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 Monitor.c 70 @rm -f .result.log 71 @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 done 74 @./stat.py .result.log 75 @rm -f a.out .result.log 76 38 77 csv-data$(EXEEXT): 39 78 @${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -quiet -DN=50000000 csv-data.c 40 79 @./a.out 41 80 @rm -f ./a.out 42 43 ## =========================================================================================================44 ctxswitch$(EXEEXT): \45 ctxswitch-pthread.run \46 ctxswitch-cfa_coroutine.run \47 ctxswitch-cfa_thread.run \48 ctxswitch-upp_coroutine.run \49 ctxswitch-upp_thread.run50 51 ctxswitch-cfa_coroutine$(EXEEXT):52 ${AM_V_CC}${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -quiet -DBENCH_N=50000000 ctxswitch/cfa_cor.c53 54 ctxswitch-cfa_thread$(EXEEXT):55 ${AM_V_CC}${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -quiet -DBENCH_N=50000000 ctxswitch/cfa_thrd.c56 57 ctxswitch-upp_coroutine$(EXEEXT):58 ${AM_V_CC}u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -quiet -DBENCH_N=50000000 ctxswitch/upp_cor.cc59 60 ctxswitch-upp_thread$(EXEEXT):61 ${AM_V_CC}u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -quiet -DBENCH_N=50000000 ctxswitch/upp_thrd.cc62 63 ctxswitch-pthread$(EXEEXT):64 ${AM_V_CC}@BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -I. -lrt -pthread -DBENCH_N=50000000 ctxswitch/pthreads.c65 66 ## =========================================================================================================67 creation$(EXEEXT) :\68 creation-pthread.run \69 creation-cfa_coroutine.run \70 creation-cfa_thread.run \71 creation-upp_coroutine.run \72 creation-upp_thread.run73 74 creation-cfa_coroutine$(EXEEXT):75 ${AM_V_CC}${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -quiet -DBENCH_N=500000000 creation/cfa_cor.c76 77 creation-cfa_thread$(EXEEXT):78 ${AM_V_CC}${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -I. -nodebug -lrt -quiet -DBENCH_N=10000000 creation/cfa_thrd.c79 80 creation-upp_coroutine$(EXEEXT):81 ${AM_V_CC}u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -quiet -DBENCH_N=50000000 creation/upp_cor.cc82 83 creation-upp_thread$(EXEEXT):84 ${AM_V_CC}u++ ${AM_CFLAGS} ${CFLAGS} ${ccflags} ${ccflags} -I. -nodebug -lrt -quiet -DBENCH_N=50000000 creation/upp_thrd.cc85 86 creation-pthread$(EXEEXT):87 ${AM_V_CC}@BACKEND_CC@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -I. -lrt -pthread -DBENCH_N=250000 creation/pthreads.c88 89 ## =========================================================================================================90 sched-int$(EXEEXT):91 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 SchedInt.c92 93 monitor$(EXEEXT):94 ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=50000000 Monitor.c95 96 %.run : %$(EXEEXT) ${REPEAT}97 @rm -f .result.log98 @echo "------------------------------------------------------"99 @echo $<100 @${REPEAT} ${repeats} ./a.out | tee -a .result.log101 @${STATS} .result.log102 @echo "------------------------------------------------------"103 @rm -f a.out .result.log104 105 ${REPEAT} :106 @+make -C ${TOOLSDIR} repeat
Note:
See TracChangeset
for help on using the changeset viewer.