Changeset bfd15e8


Ignore:
Timestamp:
Aug 22, 2017, 3:26:50 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:
af08051
Parents:
b3d413b
Message:

Benchmark now compiles some useful stats on runs

Location:
src/benchmark
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/Makefile.am

    rb3d413b rbfd15e8  
    3232ctxswitch-coroutine$(EXEEXT):
    3333        ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=10000000 CorCtxSwitch.c
    34         @for number in 1 2 3 4 5 6 7 8 9 10; do \
    35                 ./a.out ; \
     34        @rm -f .result.log
     35        @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
     36                ./a.out | tee -a .result.log ; \
    3637        done
    37         @rm -f ./a.out
     38        @./stat.py .result.log
     39        @rm -f a.out .result.log
    3840
    3941ctxswitch-thread$(EXEEXT):
    4042        ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=10000000 ThrdCtxSwitch.c
    41         @for number in 1 2 3 4 5 6 7 8 9 10; do \
    42                 ./a.out ; \
     43        @rm -f .result.log
     44        @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
     45                ./a.out | tee -a .result.log ; \
    4346        done
    44         @rm -f ./a.out
     47        @./stat.py .result.log
     48        @rm -f a.out .result.log
    4549
    4650sched-int$(EXEEXT):
    4751        ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=10000000 SchedInt.c
    48         @for number in 1 2 3 4 5 6 7 8 9 10; do \
    49                 ./a.out ; \
     52        @rm -f .result.log
     53        @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
     54                ./a.out | tee -a .result.log ; \
    5055        done
    51         @rm -f ./a.out
     56        @./stat.py .result.log
     57        @rm -f a.out .result.log
    5258
    5359monitor$(EXEEXT):
    5460        ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=10000000 Monitor.c
    55         @for number in 1 2 3 4 5 6 7 8 9 10; do \
    56                 ./a.out ; \
     61        @rm -f .result.log
     62        @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
     63                ./a.out | tee -a .result.log ; \
    5764        done
    58         @rm -f ./a.out
     65        @./stat.py .result.log
     66        @rm -f a.out .result.log
    5967
    6068csv-data$(EXEEXT):
  • src/benchmark/Makefile.in

    rb3d413b rbfd15e8  
    582582ctxswitch-coroutine$(EXEEXT):
    583583        ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=10000000 CorCtxSwitch.c
    584         @for number in 1 2 3 4 5 6 7 8 9 10; do \
    585                 ./a.out ; \
     584        @rm -f .result.log
     585        @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
     586                ./a.out | tee -a .result.log ; \
    586587        done
    587         @rm -f ./a.out
     588        @./stat.py .result.log
     589        @rm -f a.out .result.log
    588590
    589591ctxswitch-thread$(EXEEXT):
    590592        ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=10000000 ThrdCtxSwitch.c
    591         @for number in 1 2 3 4 5 6 7 8 9 10; do \
    592                 ./a.out ; \
     593        @rm -f .result.log
     594        @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
     595                ./a.out | tee -a .result.log ; \
    593596        done
    594         @rm -f ./a.out
     597        @./stat.py .result.log
     598        @rm -f a.out .result.log
    595599
    596600sched-int$(EXEEXT):
    597601        ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=10000000 SchedInt.c
    598         @for number in 1 2 3 4 5 6 7 8 9 10; do \
    599                 ./a.out ; \
     602        @rm -f .result.log
     603        @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
     604                ./a.out | tee -a .result.log ; \
    600605        done
    601         @rm -f ./a.out
     606        @./stat.py .result.log
     607        @rm -f a.out .result.log
    602608
    603609monitor$(EXEEXT):
    604610        ${CC} ${AM_CFLAGS} ${CFLAGS} ${ccflags} @CFA_FLAGS@ -nodebug -lrt -DN=10000000 Monitor.c
    605         @for number in 1 2 3 4 5 6 7 8 9 10; do \
    606                 ./a.out ; \
     611        @rm -f .result.log
     612        @for number in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
     613                ./a.out | tee -a .result.log ; \
    607614        done
    608         @rm -f ./a.out
     615        @./stat.py .result.log
     616        @rm -f a.out .result.log
    609617
    610618csv-data$(EXEEXT):
Note: See TracChangeset for help on using the changeset viewer.