Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r41cca44 r0c1b566  
    3333TIME_FORMAT = "%E"
    3434PRINT_FORMAT = %20s: #Comments needed for spacing
     35
     36LIBFIBRE_DIR ?= /home/tdelisle/software/KOS/src/
    3537
    3638.NOTPARALLEL:
     
    109111
    110112## =========================================================================================================
    111 CTXSWITCH_DEPEND  =                \
     113ctxswitch$(EXEEXT): \
    112114        loop.run                                \
    113115        function.run                    \
     
    119121        ctxswitch-upp_coroutine.run     \
    120122        ctxswitch-upp_thread.run        \
     123        -ctxswitch-kos_fibre.run        \
     124        -ctxswitch-kos_fibre2.run       \
    121125        ctxswitch-goroutine.run         \
    122126        ctxswitch-java_thread.run
    123127
    124 if WITH_LIBFIBRE
    125 CTXSWITCH_DEPEND  +=           \
    126         ctxswitch-kos_fibre.run  \
    127         ctxswitch-kos_fibre2.run
    128 
     128ctxswitch-pthread$(EXEEXT):
     129        @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
     130
     131ctxswitch-cfa_coroutine$(EXEEXT):
     132        @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c
     133
     134ctxswitch-cfa_thread$(EXEEXT):
     135        @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c
     136
     137ctxswitch-cfa_thread2$(EXEEXT):
     138        @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c
     139
     140ctxswitch-upp_coroutine$(EXEEXT):
     141        @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
     142
     143ctxswitch-upp_thread$(EXEEXT):
     144        @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
    129145
    130146ctxswitch-kos_fibre$(EXEEXT):
     
    133149ctxswitch-kos_fibre2$(EXEEXT):
    134150        @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
    135 endif
    136 
    137 ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND)
    138 
    139 ctxswitch-pthread$(EXEEXT):
    140         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
    141 
    142 ctxswitch-cfa_coroutine$(EXEEXT):
    143         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c
    144 
    145 ctxswitch-cfa_thread$(EXEEXT):
    146         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c
    147 
    148 ctxswitch-cfa_thread2$(EXEEXT):
    149         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c
    150 
    151 ctxswitch-upp_coroutine$(EXEEXT):
    152         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
    153 
    154 ctxswitch-upp_thread$(EXEEXT):
    155         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
    156151
    157152ctxswitch-goroutine$(EXEEXT):
Note: See TracChangeset for help on using the changeset viewer.