Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    rdc33b5b rd9f2874  
    1111## Created On       : Sun May 31 09:08:15 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Sun Jun 23 12:34:29 2019
    14 ## Update Count     : 52
     13## Last Modified On : Tue Nov  6 09:01:23 2018
     14## Update Count     : 26
    1515###############################################################################
    1616
     
    2121include $(top_srcdir)/src/cfa.make
    2222
    23 AM_CFLAGS = -O2 -Wall -Wextra -I$(srcdir) -lrt -pthread # -Werror
     23AM_CFLAGS = -O2 -Wall -Wextra -Werror -I$(srcdir) -lrt -pthread
    2424AM_CFAFLAGS = -quiet -nodebug -in-tree
    2525AM_UPPFLAGS = -quiet -nodebug -multi -std=c++14
     
    3131BENCH_V_JAVAC = $(__bench_v_JAVAC_$(__quiet))
    3232BENCH_V_UPP = $(__bench_v_UPP_$(__quiet))
    33 BENCH_V_QTHREAD = $(__bench_v_QTHREAD_$(__quiet))
    3433
    3534__quiet = verbose
     
    4645__bench_v_JAVAC_verbose = $(AM_V_JAVAC)
    4746__bench_v_UPP_verbose = $(AM_V_UPP)
    48 __bench_v_QTHREAD_verbose = $(AM_V_CC)
     47
    4948
    5049
     
    5251REPEAT   = ${abs_top_builddir}/tools/repeat
    5352STATS    = ${abs_top_srcdir}/tools/stat.py
    54 repeats  = 3 # 30
     53repeats  = 30
    5554skipcompile = no
    5655TIME_FORMAT = "%E"
     
    125124
    126125ctxswitch.csv:
    127         @echo "generator,coroutine,thread" > $@
    128         @+make ctxswitch-cfa_generator.runquiet >> $@ && echo -n ',' >> $@
     126        @echo "coroutine,thread" > $@
    129127        @+make ctxswitch-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@
    130128        @+make ctxswitch-cfa_thread.runquiet >> $@
     
    155153        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
    156154
    157 ttst_lock$(EXEEXT):
    158         $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/ttst_lock.c
    159 
    160155tls-fetch_add$(EXEEXT):
    161156        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/tls-fetch_add.c
     
    166161        function.run                    \
    167162        fetch_add.run                   \
    168         ttst_lock.run                   \
    169163        tls-fetch_add.run                       \
    170164        ctxswitch-pthread.run           \
    171         ctxswitch-cfa_generator.run     \
    172165        ctxswitch-cfa_coroutine.run     \
    173166        ctxswitch-cfa_thread.run        \
     
    176169        ctxswitch-upp_thread.run        \
    177170        ctxswitch-goroutine.run         \
    178         ctxswitch-java_thread.run       \
    179         ctxswitch-qthreads.run
    180 
     171        ctxswitch-java_thread.run
    181172
    182173if WITH_LIBFIBRE
     
    197188ctxswitch-pthread$(EXEEXT):
    198189        $(BENCH_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
    199 
    200 ctxswitch-cfa_generator$(EXEEXT):
    201         $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_gen.cfa
    202190
    203191ctxswitch-cfa_coroutine$(EXEEXT):
     
    224212        @echo "java JavaThread" >> a.out
    225213        @chmod a+x a.out
    226 
    227 ctxswitch-qthreads$(EXEEXT):
    228         $(BENCH_V_QTHREADS)$(COMPILE) -DBENCH_N=50000000 -I/u/pabuhr/software/qthreads/include -L/u/pabuhr/software/qthreads/lib -Xlinker -R/u/pabuhr/software/qthreads/lib $(srcdir)/ctxswitch/qthreads.c -lqthread
    229214
    230215## =========================================================================================================
     
    320305        creation-upp_thread.run                 \
    321306        creation-goroutine.run                  \
    322         creation-java_thread.run                \
    323         creation-qthreads.run
     307        creation-java_thread.run
    324308
    325309creation-cfa_coroutine$(EXEEXT):
     
    349333        @echo "java JavaThread" >> a.out
    350334        @chmod a+x a.out
    351 
    352 creation-qthreads$(EXEEXT):
    353         $(BENCH_V_QTHREADS)$(COMPILE) -DBENCH_N=50000000 -I/u/pabuhr/software/qthreads/include -L/u/pabuhr/software/qthreads/lib -Xlinker -R/u/pabuhr/software/qthreads/lib $(srcdir)/ctxswitch/qthreads.c -lqthread
    354335
    355336## =========================================================================================================
     
    394375compile-typeof$(EXEEXT):
    395376        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
     377
Note: See TracChangeset for help on using the changeset viewer.