Ignore:
Timestamp:
Nov 27, 2017, 12:38:21 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
a6d70cd
Parents:
2b716ec
Message:

Added java benchmarks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/Makefile.am

    r2b716ec r6aa537a4  
    125125mutex$(EXEEXT) :\
    126126        mutex-function.run      \
     127        mutex-fetch_add.run     \
    127128        mutex-pthread_lock.run  \
    128129        mutex-upp.run           \
    129130        mutex-cfa1.run          \
    130131        mutex-cfa2.run          \
    131         mutex-cfa4.run
     132        mutex-cfa4.run          \
     133        mutex-java_thread.run
    132134
    133135mutex-function$(EXEEXT):
    134136        @@BACKEND_CC@ mutex/function.c    -DBENCH_N=500000000   -I. -lrt -pthread                    ${AM_CFLAGS} ${CFLAGS} ${ccflags}
    135137
     138mutex-fetch_add$(EXEEXT):
     139        @@BACKEND_CC@ mutex/fetch_add.c   -DBENCH_N=500000000   -I. -lrt -pthread                    ${AM_CFLAGS} ${CFLAGS} ${ccflags}
     140
    136141mutex-pthread_lock$(EXEEXT):
    137142        @@BACKEND_CC@ mutex/pthreads.c    -DBENCH_N=50000000    -I. -lrt -pthread                    ${AM_CFLAGS} ${CFLAGS} ${ccflags}
     
    148153mutex-cfa4$(EXEEXT):
    149154        @${CC}        mutex/cfa4.c        -DBENCH_N=5000000     -I. -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}
     155
     156mutex-java_thread$(EXEEXT):
     157        @javac mutex/JavaThread.java
     158        @echo "#!/bin/sh" > a.out
     159        @echo "cd mutex && java JavaThread" >> a.out
     160        @chmod a+x a.out
    150161
    151162## =========================================================================================================
     
    167178signal-cfa4$(EXEEXT):
    168179        @${CC}        schedint/cfa4.c     -DBENCH_N=500000      -I. -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}
     180
     181signal-java_thread$(EXEEXT):
     182        @javac schedint/JavaThread.java
     183        @echo "#!/bin/sh" > a.out
     184        @echo "cd schedint && java JavaThread" >> a.out
     185        @chmod a+x a.out
     186
    169187
    170188## =========================================================================================================
Note: See TracChangeset for help on using the changeset viewer.