Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.in

    rc12869e r26fd986  
    427427ctxswitch_cfa_generator_DURATION = 5000000000
    428428ctxswitch_DURATION = 100000000
    429 mutex_java_DURATION = 10000000
     429
     430#mutex_java_DURATION = 10000000
    430431mutex_DURATION = 50000000
    431 signal_pthread_DURATION = 1000000
    432 signal_java_DURATION = $(signal_pthread_DURATION)
    433 signal_rust_DURATION = $(signal_pthread_DURATION)
    434 signal_DURATION = 10000000
    435 waitfor_DURATION = 10000000
     432schedint_pthread_DURATION = 1000000
     433schedint_java_DURATION = $(schedint_pthread_DURATION)
     434schedint_rust_DURATION = $(schedint_pthread_DURATION)
     435schedint_DURATION = 10000000
     436schedext_DURATION = 10000000
    436437creation_pthread_DURATION = 250000
    437 creation_rust_DURATION = ${creation_pthread_DURATION}
     438creation_rust_thread_DURATION = ${creation_pthread_DURATION}
     439creation_java_thread_DURATION = ${creation_pthread_DURATION}
    438440creation_cfa_coroutine_DURATION = 100000000
    439441creation_cfa_coroutine_eager_DURATION = 10000000
     
    784786.ONESHELL:              # use one shell to execute recipe
    785787.NOTPARALLEL:
    786 .PHONY: compile.csv basic.csv ctxswitch.csv mutex.csv signal.csv
    787 
    788 all : basic$(EXEEXT) ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT)
     788.PHONY: compile.csv basic.csv ctxswitch.csv mutex.csv schedint.csv
     789
     790all : basic$(EXEEXT) ctxswitch$(EXEEXT) mutex$(EXEEXT) schedint$(EXEEXT) schedext$(EXEEXT) creation$(EXEEXT)
    789791
    790792%.run : %$(EXEEXT) ${REPEAT}
     
    825827        +make mutex.csv
    826828        -+make mutex.diff.csv
    827         +make signal.csv
    828         -+make signal.diff.csv
     829        +make schedint.csv
     830        -+make schedint.diff.csv
    829831@DOifskipcompile@
    830832        cat compile.csv
     
    837839        cat mutex.csv
    838840        -cat mutex.diff.csv
    839         cat signal.csv
    840         -cat signal.diff.csv
     841        cat schedint.csv
     842        -cat schedint.diff.csv
    841843
    842844compile.csv:
     
    872874        $(srcdir)/fixcsv.sh $@
    873875
    874 signal.csv:
    875         echo "signal-1,signal-2,waitfor-1,waitfor-2" > $@
    876         +make signal-cfa1.runquiet >> $@ && echo -n ',' >> $@
    877         +make signal-cfa2.runquiet >> $@ && echo -n ',' >> $@
    878         +make waitfor-cfa1.runquiet >> $@ && echo -n ',' >> $@
    879         +make waitfor-cfa2.runquiet >> $@
     876schedint.csv:
     877        echo "schedint-1,schedint-2,schedext-1,schedext-2" > $@
     878        +make schedint-cfa1.runquiet >> $@ && echo -n ',' >> $@
     879        +make schedint-cfa2.runquiet >> $@ && echo -n ',' >> $@
     880        +make schedext-cfa1.runquiet >> $@ && echo -n ',' >> $@
     881        +make schedext-cfa2.runquiet >> $@
    880882        $(srcdir)/fixcsv.sh $@
    881883
     
    989991        chmod a+x a.out
    990992
    991 signal$(EXEEXT) :               \
    992         signal-cfa1.run         \
    993         signal-cfa2.run         \
    994         signal-cfa4.run         \
    995         signal-upp.run          \
    996         signal-rust.run         \
    997         signal-java.run         \
    998         signal-pthread.run
    999 
    1000 signal-pthread$(EXEEXT):
    1001         $(BENCH_V_CC)$(COMPILE) $(srcdir)/schedint/pthreads.c
    1002 
    1003 signal-upp$(EXEEXT):
     993schedint$(EXEEXT) :             \
     994        schedint-cfa1.run       \
     995        schedint-cfa2.run       \
     996        schedint-cfa4.run       \
     997        schedint-upp.run        \
     998        schedint-rust.run       \
     999        schedint-java.run       \
     1000        schedint-pthread.run
     1001
     1002schedint-cfa1$(EXEEXT):
     1003        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa1.cfa
     1004
     1005schedint-cfa2$(EXEEXT):
     1006        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa2.cfa
     1007
     1008schedint-cfa4$(EXEEXT):
     1009        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa4.cfa
     1010
     1011schedint-upp$(EXEEXT):
    10041012        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedint/upp.cc
    10051013
    1006 signal-cfa1$(EXEEXT):
    1007         $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa1.cfa
    1008 
    1009 signal-cfa2$(EXEEXT):
    1010         $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa2.cfa
    1011 
    1012 signal-cfa4$(EXEEXT):
    1013         $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa4.cfa
    1014 
    1015 signal-rust$(EXEEXT):
     1014schedint-rust$(EXEEXT):
    10161015        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/schedint/rust.rs
    10171016
    1018 signal-java$(EXEEXT):
     1017schedint-java$(EXEEXT):
    10191018        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    10201019        echo "#!/bin/sh" > a.out
     
    10221021        chmod a+x a.out
    10231022
    1024 waitfor$(EXEEXT) :              \
    1025         waitfor-cfa1.run        \
    1026         waitfor-cfa2.run        \
    1027         waitfor-cfa4.run        \
    1028         waitfor-upp.run
    1029 
    1030 waitfor-upp$(EXEEXT):
     1023schedint-pthread$(EXEEXT):
     1024        $(BENCH_V_CC)$(COMPILE) $(srcdir)/schedint/pthreads.c
     1025
     1026schedext$(EXEEXT) :             \
     1027        schedext-cfa1.run       \
     1028        schedext-cfa2.run       \
     1029        schedext-cfa4.run       \
     1030        schedext-upp.run        \
     1031        schedext-goroutine.run
     1032
     1033schedext-cfa1$(EXEEXT):
     1034        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa1.cfa
     1035
     1036schedext-cfa2$(EXEEXT):
     1037        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa2.cfa
     1038
     1039schedext-cfa4$(EXEEXT):
     1040        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa4.cfa
     1041
     1042schedext-upp$(EXEEXT):
    10311043        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedext/upp.cc
    10321044
    1033 waitfor-cfa1$(EXEEXT):
    1034         $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa1.cfa
    1035 
    1036 waitfor-cfa2$(EXEEXT):
    1037         $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa2.cfa
    1038 
    1039 waitfor-cfa4$(EXEEXT):
    1040         $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa4.cfa
     1045schedext-goroutine$(EXEEXT):
     1046        $(BENCH_V_GOC)go build -o a.out $(srcdir)/schedext/goroutine.go
    10411047
    10421048creation$(EXEEXT) :                             \
     1049        creation-cfa_generator.run              \
    10431050        creation-cfa_coroutine.run              \
    10441051        creation-cfa_coroutine_eager.run        \
     
    10531060        creation-pthread.run
    10541061
     1062creation-cfa_generator$(EXEEXT):
     1063        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_gen.cfa
     1064
    10551065creation-cfa_coroutine$(EXEEXT):
    10561066        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa
     
    10841094        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/creation/rust_thrd.rs
    10851095
    1086 creation-java$(EXEEXT):
     1096creation-java_thread$(EXEEXT):
    10871097        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    10881098        echo "#!/bin/sh" > a.out
Note: See TracChangeset for help on using the changeset viewer.