Changeset 7a8f5246 for benchmark


Ignore:
Timestamp:
Mar 22, 2019, 10:52:46 AM (5 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
d4a60ac
Parents:
17129659
Message:

Added benchmark for relaxed atomic store to tls

Location:
benchmark
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r17129659 r7a8f5246  
    2222
    2323AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread
    24 AM_CFAFLAGS = -quiet -in-tree -nodebug
     24AM_CFAFLAGS = -quiet -in-tree -nodebug -std=c++14
    2525AM_UPPFLAGS = -quiet -nodebug -multi
    2626
     
    139139        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
    140140
     141tls-fetch_add$(EXEEXT):
     142        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/tls-fetch_add.c
     143
    141144## =========================================================================================================
    142145CTXSWITCH_DEPEND  =                 \
     
    144147        function.run                    \
    145148        fetch_add.run                   \
     149        tls-fetch_add.run                       \
    146150        ctxswitch-pthread.run           \
    147151        ctxswitch-cfa_coroutine.run     \
  • benchmark/Makefile.in

    r17129659 r7a8f5246  
    372372# applies to both programs
    373373AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread
    374 AM_CFAFLAGS = -quiet -in-tree -nodebug
     374AM_CFAFLAGS = -quiet -in-tree -nodebug -std=c++14
    375375AM_UPPFLAGS = -quiet -nodebug -multi
    376376BENCH_V_CC = $(__bench_v_CC_$(__quiet))
     
    402402dummy_SOURCES = dummyC.c dummyCXX.cpp
    403403CTXSWITCH_DEPEND = loop.run function.run fetch_add.run \
    404         ctxswitch-pthread.run ctxswitch-cfa_coroutine.run \
    405         ctxswitch-cfa_thread.run ctxswitch-cfa_thread2.run \
    406         ctxswitch-upp_coroutine.run ctxswitch-upp_thread.run \
    407         ctxswitch-goroutine.run ctxswitch-java_thread.run \
    408         $(am__append_1)
     404        tls-fetch_add.run ctxswitch-pthread.run \
     405        ctxswitch-cfa_coroutine.run ctxswitch-cfa_thread.run \
     406        ctxswitch-cfa_thread2.run ctxswitch-upp_coroutine.run \
     407        ctxswitch-upp_thread.run ctxswitch-goroutine.run \
     408        ctxswitch-java_thread.run $(am__append_1)
    409409testdir = $(top_srcdir)/tests
    410410all: all-am
     
    799799        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
    800800
     801tls-fetch_add$(EXEEXT):
     802        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/tls-fetch_add.c
     803
    801804@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT):
    802805@WITH_LIBFIBRE_TRUE@    $(BENCH_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
Note: See TracChangeset for help on using the changeset viewer.