Changeset 6aa537a4


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

Added java benchmarks

Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r2b716ec r6aa537a4  
    2525include
    2626share
    27 .class
     27*.class
    2828
    2929# src executables, for lib and bin
  • 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## =========================================================================================================
  • src/benchmark/Makefile.in

    r2b716ec r6aa537a4  
    537537mutex$(EXEEXT) :\
    538538        mutex-function.run      \
     539        mutex-fetch_add.run     \
    539540        mutex-pthread_lock.run  \
    540541        mutex-upp.run           \
    541542        mutex-cfa1.run          \
    542543        mutex-cfa2.run          \
    543         mutex-cfa4.run
     544        mutex-cfa4.run          \
     545        mutex-java_thread.run
    544546
    545547mutex-function$(EXEEXT):
    546548        @@BACKEND_CC@ mutex/function.c    -DBENCH_N=500000000   -I. -lrt -pthread                    ${AM_CFLAGS} ${CFLAGS} ${ccflags}
    547549
     550mutex-fetch_add$(EXEEXT):
     551        @@BACKEND_CC@ mutex/fetch_add.c   -DBENCH_N=500000000   -I. -lrt -pthread                    ${AM_CFLAGS} ${CFLAGS} ${ccflags}
     552
    548553mutex-pthread_lock$(EXEEXT):
    549554        @@BACKEND_CC@ mutex/pthreads.c    -DBENCH_N=50000000    -I. -lrt -pthread                    ${AM_CFLAGS} ${CFLAGS} ${ccflags}
     
    560565mutex-cfa4$(EXEEXT):
    561566        @${CC}        mutex/cfa4.c        -DBENCH_N=5000000     -I. -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}
     567
     568mutex-java_thread$(EXEEXT):
     569        @javac mutex/JavaThread.java
     570        @echo "#!/bin/sh" > a.out
     571        @echo "cd mutex && java JavaThread" >> a.out
     572        @chmod a+x a.out
    562573
    563574signal$(EXEEXT) :\
     
    578589signal-cfa4$(EXEEXT):
    579590        @${CC}        schedint/cfa4.c     -DBENCH_N=500000      -I. -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}
     591
     592signal-java_thread$(EXEEXT):
     593        @javac schedint/JavaThread.java
     594        @echo "#!/bin/sh" > a.out
     595        @echo "cd schedint && java JavaThread" >> a.out
     596        @chmod a+x a.out
    580597
    581598waitfor$(EXEEXT) :\
Note: See TracChangeset for help on using the changeset viewer.