Ignore:
Timestamp:
Apr 18, 2019, 11:52:27 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:
d4510ea
Parents:
b0ccd1c
Message:

Jenkins benchmarks updated to use plot plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.in

    rb0ccd1c rf15fe0a  
    401401PRINT_FORMAT = %20s: #Comments needed for spacing
    402402dummy_SOURCES = dummyC.c dummyCXX.cpp
     403FIX_NEW_LINES = cat $@ | tr "\n" "\t" | sed -r 's/\t,/,/' | tr "\t" "\n" > $@
    403404CTXSWITCH_DEPEND = loop.run function.run fetch_add.run \
    404405        tls-fetch_add.run ctxswitch-pthread.run \
     
    731732
    732733.NOTPARALLEL:
     734.PHONY: compile.csv ctxswitch.csv mutex.csv signal.csv
    733735
    734736all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT)
     
    756758
    757759jenkins$(EXEEXT):
    758         @echo "{"
    759         @echo -e '\t"githash": "'${githash}'",'
    760         @echo -e '\t"arch": "'   ${arch}   '",'
    761760@DOifskipcompile@
    762         @echo -e '\t"compile": {'
    763         @+make compile TIME_FORMAT='%e,' PRINT_FORMAT='\t\t\"%s\" :'
    764         @echo -e '\t\t"dummy" : {}'
    765         @echo -e '\t},'
     761        @+make compile.csv
    766762@DOendif@
    767         @echo -e '\t"ctxswitch": {'
    768         @echo -en '\t\t"coroutine":'
    769         @+make ctxswitch-cfa_coroutine.runquiet
    770         @echo -en '\t\t,"thread":'
    771         @+make ctxswitch-cfa_thread.runquiet
    772         @echo -e '\t},'
    773         @echo -e '\t"mutex": ['
    774         @echo -en '\t\t'
    775         @+make mutex-cfa1.runquiet
    776         @echo -en '\t\t,'
    777         @+make mutex-cfa2.runquiet
    778         @echo -e '\t],'
    779         @echo -e '\t"scheduling": ['
    780         @echo -en '\t\t'
    781         @+make signal-cfa1.runquiet
    782         @echo -en '\t\t,'
    783         @+make signal-cfa2.runquiet
    784         @echo -en '\t\t,'
    785         @+make waitfor-cfa1.runquiet
    786         @echo -en '\t\t,'
    787         @+make waitfor-cfa2.runquiet
    788         @echo -e '\n\t],'
    789         @echo -e '\t"epoch": ' $(shell date +%s)
    790         @echo "}"
     763        @+make ctxswitch.csv
     764        @+make mutex.csv
     765        @+make signal.csv
     766
     767compile.csv:
     768        @echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@
     769        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@
     770        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@
     771        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@
     772        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@
     773        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-io.make >> $@
     774        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-monitor.make >> $@
     775        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-operators.make >> $@
     776        @+make TIME_FORMAT='%e' PRINT_FORMAT='' compile-typeof.make >> $@
     777        @$(srcdir)/fixcsv.sh $@
     778
     779ctxswitch.csv:
     780        @echo "coroutine,thread" > $@
     781        @+make ctxswitch-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@
     782        @+make ctxswitch-cfa_thread.runquiet >> $@
     783        @$(srcdir)/fixcsv.sh $@
     784
     785mutex.csv:
     786        @echo "1-monitor,2-monitor" > $@
     787        @+make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@
     788        @+make mutex-cfa2.runquiet >> $@
     789        @$(srcdir)/fixcsv.sh $@
     790
     791signal.csv:
     792        @echo "signal-1,signal-2,waitfor-1,waitfor-2" > $@
     793        @+make signal-cfa1.runquiet >> $@ && echo -n ',' >> $@
     794        @+make signal-cfa2.runquiet >> $@ && echo -n ',' >> $@
     795        @+make waitfor-cfa1.runquiet >> $@ && echo -n ',' >> $@
     796        @+make waitfor-cfa2.runquiet >> $@
     797        @$(srcdir)/fixcsv.sh $@
    791798
    792799loop$(EXEEXT):
Note: See TracChangeset for help on using the changeset viewer.