Changes in benchmark/Makefile.in [c8c0c7c5:8633485b]
- File:
-
- 1 edited
-
benchmark/Makefile.in (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.in
rc8c0c7c5 r8633485b 93 93 EXTRA_PROGRAMS = dummy$(EXEEXT) 94 94 @WITH_LIBFIBRE_TRUE@am__append_1 = \ 95 @WITH_LIBFIBRE_TRUE@ ctxswitch-kos_fibre.run \95 @WITH_LIBFIBRE_TRUE@ ctxswitch-kos_fibre.run \ 96 96 @WITH_LIBFIBRE_TRUE@ ctxswitch-kos_fibre2.run 97 97 … … 358 358 am__v_CFA_0 = @echo " CFA " $@; 359 359 am__v_CFA_1 = 360 AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)361 am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)362 am__v_JAVAC_0 = @echo " JAVAC " $@;363 am__v_JAVAC_1 =364 AM_V_GOC = $(am__v_GOC_@AM_V@)365 am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)366 am__v_GOC_0 = @echo " GOC " $@;367 am__v_GOC_1 =368 360 UPPCC = u++ 369 361 UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS) … … 372 364 am__v_UPP_0 = @echo " UPP " $@; 373 365 am__v_UPP_1 = 366 AM_V_GOC = $(am__v_GOC_@AM_V@) 367 am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@) 368 am__v_GOC_0 = @echo " GOC " $@; 369 am__v_GOC_1 = 370 AM_V_RUST = $(am__v_RUST_@AM_V@) 371 am__v_RUST_ = $(am__v_RUST_@AM_DEFAULT_V@) 372 am__v_RUST_0 = @echo " RUST " $@; 373 am__v_RUST_1 = 374 AM_V_NODEJS = $(am__v_NODEJS_@AM_V@) 375 am__v_NODEJS_ = $(am__v_NODEJS_@AM_DEFAULT_V@) 376 am__v_NODEJS_0 = @echo " NODEJS " $@; 377 am__v_NODEJS_1 = 378 AM_V_JAVAC = $(am__v_JAVAC_@AM_V@) 379 am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@) 380 am__v_JAVAC_0 = @echo " JAVAC " $@; 381 am__v_JAVAC_1 = 374 382 375 383 # applies to both programs … … 380 388 BENCH_V_CFA = $(__bench_v_CFA_$(__quiet)) 381 389 BENCH_V_CXX = $(__bench_v_CXX_$(__quiet)) 390 BENCH_V_UPP = $(__bench_v_UPP_$(__quiet)) 382 391 BENCH_V_GOC = $(__bench_v_GOC_$(__quiet)) 392 BENCH_V_RUSTC = $(__bench_v_RUSTC_$(__quiet)) 393 BENCH_V_NODEJS = $(__bench_v_NODEJS_$(__quiet)) 383 394 BENCH_V_JAVAC = $(__bench_v_JAVAC_$(__quiet)) 384 BENCH_V_UPP = $(__bench_v_UPP_$(__quiet))385 395 __quiet = verbose 386 396 __bench_v_CC_quiet = @ 387 397 __bench_v_CFA_quiet = @ 388 398 __bench_v_CXX_quiet = @ 399 __bench_v_UPP_quiet = @ 389 400 __bench_v_GOC_quiet = @ 401 __bench_v_RUSTC_quiet = @ 390 402 __bench_v_JAVAC_quiet = @ 391 __bench_v_UPP_quiet = @392 403 __bench_v_CC_verbose = $(AM_V_CC) 393 404 __bench_v_CFA_verbose = $(AM_V_CFA) 394 405 __bench_v_CXX_verbose = $(AM_V_CXX) 406 __bench_v_UPP_verbose = $(AM_V_UPP) 395 407 __bench_v_GOC_verbose = $(AM_V_GOC) 408 __bench_v_RUSTC_verbose = $(AM_V_RUSTC) 409 __bench_v_NODEJS_verbose = $(AM_V_NODEJS) 396 410 __bench_v_JAVAC_verbose = $(AM_V_JAVAC) 397 __bench_v_UPP_verbose = $(AM_V_UPP)398 411 TOOLSDIR = ${abs_top_builddir}/tools/ 399 412 REPEAT = ${abs_top_builddir}/tools/repeat 400 413 STATS = ${abs_top_srcdir}/tools/stat.py 401 414 # NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED 402 repeats = 5# 31 for benchmarks415 repeats = 13 # 31 for benchmarks 403 416 arch = x64 404 417 skipcompile = no … … 406 419 PRINT_FORMAT = %20s: #Comments needed for spacing 407 420 dummy_SOURCES = dummyC.c dummyCXX.cpp 421 basic_loop_DURATION = 15000000000 422 basic_function_DURATION = 10000000000 423 basic_tls_fetch_add_DURATION = 10000000000 424 basic_DURATION = 250000000 425 ctxswitch_pthread_DURATION = 25000000 426 ctxswitch_rust_thread_DURATION = $(ctxswitch_pthread_DURATION) 427 ctxswitch_cfa_generator_DURATION = 5000000000 428 ctxswitch_nodejs_await_DURATION = 5000000 429 ctxswitch_DURATION = 100000000 430 431 #mutex_java_DURATION = 10000000 432 mutex_DURATION = 50000000 433 schedint_pthread_DURATION = 1000000 434 schedint_java_DURATION = $(schedint_pthread_DURATION) 435 schedint_rust_DURATION = $(schedint_pthread_DURATION) 436 schedint_DURATION = 10000000 437 schedext_DURATION = 10000000 438 creation_pthread_DURATION = 250000 439 creation_rust_thread_DURATION = ${creation_pthread_DURATION} 440 creation_java_thread_DURATION = ${creation_pthread_DURATION} 441 creation_cfa_coroutine_DURATION = 100000000 442 creation_cfa_coroutine_eager_DURATION = 10000000 443 creation_upp_coroutine_DURATION = ${creation_cfa_coroutine_eager_DURATION} 444 creation_cfa_thread_DURATION = 10000000 445 creation_upp_thread_DURATION = ${creation_cfa_thread_DURATION} 446 creation_DURATION = 10000000 408 447 FIX_NEW_LINES = cat $@ | tr "\n" "\t" | sed -r 's/\t,/,/' | tr "\t" "\n" > $@ 409 CTXSWITCH_DEPEND = loop.run function.run fetch_add.run ttst_lock.run \ 410 tls-fetch_add.run ctxswitch-pthread.run \ 411 ctxswitch-cfa_generator.run ctxswitch-cfa_coroutine.run \ 412 ctxswitch-cfa_thread.run ctxswitch-cfa_thread2.run \ 413 ctxswitch-upp_coroutine.run ctxswitch-upp_thread.run \ 414 ctxswitch-goroutine.run ctxswitch-java_thread.run \ 415 $(am__append_1) 448 BASIC_DEPEND = \ 449 basic-loop.run \ 450 basic-function.run \ 451 basic-fetch_add.run \ 452 basic-ttst_lock.run \ 453 basic-tls-fetch_add.run 454 455 CTXSWITCH_DEPEND = ctxswitch-cfa_generator.run \ 456 ctxswitch-cfa_coroutine.run ctxswitch-cfa_thread.run \ 457 ctxswitch-cfa_thread2.run ctxswitch-upp_coroutine.run \ 458 ctxswitch-upp_thread.run ctxswitch-python_coroutine.run \ 459 ctxswitch-nodejs_coroutine.run ctxswitch-nodejs_await.run \ 460 ctxswitch-goroutine_thread.run ctxswitch-rust_thread.run \ 461 ctxswitch-nodejs_coroutine.run ctxswitch-java_thread.run \ 462 ctxswitch-pthread.run $(am__append_1) 416 463 testdir = $(top_srcdir)/tests 417 464 all: all-am … … 732 779 733 780 dummyC.c: 734 @echo "int main() { return 0; }" > ${@}781 echo "int main() { return 0; }" > ${@} 735 782 736 783 dummyCXX.cpp: 737 @echo "int main() { return 0; }" > ${@} 738 784 echo "int main() { return 0; }" > ${@} 785 786 #.SILENT: # do not print recipe 787 .ONESHELL: # use one shell to execute recipe 739 788 .NOTPARALLEL: 740 .PHONY: compile.csv ctxswitch.csv mutex.csv signal.csv741 742 all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT)789 .PHONY: compile.csv basic.csv ctxswitch.csv mutex.csv schedint.csv 790 791 all : basic$(EXEEXT) ctxswitch$(EXEEXT) mutex$(EXEEXT) schedint$(EXEEXT) schedext$(EXEEXT) creation$(EXEEXT) 743 792 744 793 %.run : %$(EXEEXT) ${REPEAT} 745 @rm -f .result.log 746 @echo "------------------------------------------------------" 747 @echo $< 748 @${REPEAT} ${repeats} ./a.out | tee -a .result.log 749 @${STATS} .result.log 750 @echo "------------------------------------------------------" 751 @rm -f a.out .result.log *.class 794 rm -f .result.log 795 echo "------------------------------------------------------" 796 echo $< 797 ${REPEAT} ${repeats} -- ./a.out\ 798 $(if ${$(subst -,_,$(basename $@))_DURATION},\ 799 ${$(subst -,_,$(basename $@))_DURATION},\ 800 ${$(firstword $(subst -, ,$(basename $@)))_DURATION}) | tee -a .result.log 801 ${STATS} .result.log 802 echo "------------------------------------------------------" 803 rm -f a.out .result.log *.class 804 805 # ${REPEAT} ${repeats} -- /usr/bin/time -f "%Uu %Ss %Er %Mkb" ./a.out 752 806 753 807 %.runquiet : 754 @+make $(basename $@) CFLAGS="-w" __quiet=quiet755 @taskset -c 1 ./a.out756 @rm -f a.out808 +make $(basename $@) CFLAGS="-w" __quiet=quiet 809 taskset -c 1 ./a.out 810 rm -f a.out 757 811 758 812 %.make : 759 @printf "${PRINT_FORMAT}" $(basename $(subst compile-,,$@))760 @+/usr/bin/time -f ${TIME_FORMAT} make $(basename $@) 2>&1813 printf "${PRINT_FORMAT}" $(basename $(subst compile-,,$@)) 814 +/usr/bin/time -f ${TIME_FORMAT} make $(basename $@) 2>&1 761 815 762 816 ${REPEAT} : 763 @+make -C ${abs_top_builddir}/tools repeat817 +make -C ${abs_top_builddir}/tools repeat 764 818 765 819 jenkins$(EXEEXT): 766 820 @DOifskipcompile@ 767 @+make compile.csv768 @-+make compile.diff.csv821 +make compile.csv 822 -+make compile.diff.csv 769 823 @DOendif@ 770 @+make ctxswitch.csv 771 @-+make ctxswitch.diff.csv 772 @+make mutex.csv 773 @-+make mutex.diff.csv 774 @+make signal.csv 775 @-+make signal.diff.csv 824 +make basic.csv 825 -+make basic.diff.csv 826 +make ctxswitch.csv 827 -+make ctxswitch.diff.csv 828 +make mutex.csv 829 -+make mutex.diff.csv 830 +make schedint.csv 831 -+make schedint.diff.csv 776 832 @DOifskipcompile@ 777 833 cat compile.csv 778 834 -cat compile.diff.csv 779 835 @DOendif@ 836 cat basic.csv 837 -cat basic.diff.csv 780 838 cat ctxswitch.csv 781 839 -cat ctxswitch.diff.csv 782 840 cat mutex.csv 783 841 -cat mutex.diff.csv 784 cat s ignal.csv785 -cat s ignal.diff.csv842 cat schedint.csv 843 -cat schedint.diff.csv 786 844 787 845 compile.csv: 788 @echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@ 789 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@ 790 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@ 791 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@ 792 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@ 793 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-io.make >> $@ 794 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-monitor.make >> $@ 795 @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-operators.make >> $@ 796 @+make TIME_FORMAT='%e' PRINT_FORMAT='' compile-typeof.make >> $@ 797 @$(srcdir)/fixcsv.sh $@ 846 echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@ 847 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@ 848 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@ 849 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@ 850 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@ 851 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-io.make >> $@ 852 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-monitor.make >> $@ 853 +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-operators.make >> $@ 854 +make TIME_FORMAT='%e' PRINT_FORMAT='' compile-typeof.make >> $@ 855 $(srcdir)/fixcsv.sh $@ 856 857 basic.csv: 858 echo "generator,coroutine,thread" > $@ 859 +make basic-cfa_generator.runquiet >> $@ && echo -n ',' >> $@ 860 +make basic-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@ 861 +make basic-cfa_thread.runquiet >> $@ 862 $(srcdir)/fixcsv.sh $@ 798 863 799 864 ctxswitch.csv: 800 @echo "generator,coroutine,thread" > $@801 @+make ctxswitch-cfa_generator.runquiet >> $@ && echo -n ',' >> $@802 @+make ctxswitch-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@803 @+make ctxswitch-cfa_thread.runquiet >> $@804 @$(srcdir)/fixcsv.sh $@865 echo "generator,coroutine,thread" > $@ 866 +make ctxswitch-cfa_generator.runquiet >> $@ && echo -n ',' >> $@ 867 +make ctxswitch-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@ 868 +make ctxswitch-cfa_thread.runquiet >> $@ 869 $(srcdir)/fixcsv.sh $@ 805 870 806 871 mutex.csv: 807 @echo "1-monitor,2-monitor" > $@808 @+make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@809 @+make mutex-cfa2.runquiet >> $@810 @$(srcdir)/fixcsv.sh $@811 812 s ignal.csv:813 @echo "signal-1,signal-2,waitfor-1,waitfor-2" > $@814 @+make signal-cfa1.runquiet >> $@ && echo -n ',' >> $@815 @+make signal-cfa2.runquiet >> $@ && echo -n ',' >> $@816 @+make waitfor-cfa1.runquiet >> $@ && echo -n ',' >> $@817 @+make waitfor-cfa2.runquiet >> $@818 @$(srcdir)/fixcsv.sh $@872 echo "1-monitor,2-monitor" > $@ 873 +make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@ 874 +make mutex-cfa2.runquiet >> $@ 875 $(srcdir)/fixcsv.sh $@ 876 877 schedint.csv: 878 echo "schedint-1,schedint-2,schedext-1,schedext-2" > $@ 879 +make schedint-cfa1.runquiet >> $@ && echo -n ',' >> $@ 880 +make schedint-cfa2.runquiet >> $@ && echo -n ',' >> $@ 881 +make schedext-cfa1.runquiet >> $@ && echo -n ',' >> $@ 882 +make schedext-cfa2.runquiet >> $@ 883 $(srcdir)/fixcsv.sh $@ 819 884 820 885 %.diff.csv: %.csv 821 @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false) 822 @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@ 823 824 loop$(EXEEXT): 825 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c 826 827 function$(EXEEXT): 828 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c 829 830 fetch_add$(EXEEXT): 831 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/fetch_add.c 832 833 ttst_lock$(EXEEXT): 834 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/ttst_lock.c 835 836 tls-fetch_add$(EXEEXT): 837 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/tls-fetch_add.c 886 test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false) 887 $(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@ 888 889 basic-loop$(EXEEXT): 890 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/loop.c 891 892 basic-function$(EXEEXT): 893 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/function.c 894 895 basic-fetch_add$(EXEEXT): 896 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/fetch_add.c 897 898 basic-ttst_lock$(EXEEXT): 899 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/ttst_lock.c 900 901 basic-tls-fetch_add$(EXEEXT): 902 $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/tls_fetch_add.c 903 904 basic$(EXEEXT): $(BASIC_DEPEND) 838 905 839 906 @WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT): … … 845 912 ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND) 846 913 847 ctxswitch-pthread$(EXEEXT):848 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c849 850 914 ctxswitch-cfa_generator$(EXEEXT): 851 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000$(srcdir)/ctxswitch/cfa_gen.cfa915 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_gen.cfa 852 916 853 917 ctxswitch-cfa_coroutine$(EXEEXT): 854 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000$(srcdir)/ctxswitch/cfa_cor.cfa918 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_cor.cfa 855 919 856 920 ctxswitch-cfa_thread$(EXEEXT): 857 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000$(srcdir)/ctxswitch/cfa_thrd.cfa921 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_thrd.cfa 858 922 859 923 ctxswitch-cfa_thread2$(EXEEXT): 860 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000$(srcdir)/ctxswitch/cfa_thrd2.cfa924 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_thrd2.cfa 861 925 862 926 ctxswitch-upp_coroutine$(EXEEXT): 863 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000$(srcdir)/ctxswitch/upp_cor.cc927 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/ctxswitch/upp_cor.cc 864 928 865 929 ctxswitch-upp_thread$(EXEEXT): 866 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc 867 868 ctxswitch-goroutine$(EXEEXT): 930 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/ctxswitch/upp_thrd.cc 931 932 ctxswitch-python_coroutine$(EXEEXT): 933 echo "#!/bin/sh" > a.out 934 echo "python3.7 $(srcdir)/ctxswitch/python_cor.py" >> a.out 935 chmod a+x a.out 936 937 ctxswitch-nodejs_coroutine$(EXEEXT): 938 echo "#!/bin/sh" > a.out 939 echo "nodejs $(srcdir)/ctxswitch/node_cor.js" >> a.out 940 chmod a+x a.out 941 942 ctxswitch-nodejs_await$(EXEEXT): 943 echo "#!/bin/sh" > a.out 944 echo "nodejs $(srcdir)/ctxswitch/node_await.js" >> a.out 945 chmod a+x a.out 946 947 ctxswitch-goroutine_thread$(EXEEXT): 869 948 $(BENCH_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go 949 950 ctxswitch-rust_thread$(EXEEXT): 951 $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/ctxswitch/rust_thrd.rs 870 952 871 953 ctxswitch-java_thread$(EXEEXT): 872 954 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java 873 @echo "#!/bin/sh" > a.out 874 @echo "java JavaThread" >> a.out 875 @chmod a+x a.out 876 877 mutex$(EXEEXT) :\ 878 loop.run \ 879 function.run \ 880 fetch_add.run \ 881 mutex-pthread_lock.run \ 882 mutex-upp.run \ 955 echo "#!/bin/sh" > a.out 956 echo "java JavaThread" >> a.out 957 chmod a+x a.out 958 959 ctxswitch-pthread$(EXEEXT): 960 $(BENCH_V_CC)$(COMPILE) $(srcdir)/ctxswitch/pthreads.c 961 962 mutex$(EXEEXT) : \ 883 963 mutex-cfa1.run \ 884 964 mutex-cfa2.run \ 885 965 mutex-cfa4.run \ 886 mutex-java_thread.run 887 888 mutex-pthread_lock$(EXEEXT): 889 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c 966 mutex-upp.run \ 967 mutex-go.run \ 968 mutex-rust.run \ 969 mutex-java.run \ 970 mutex-pthread.run 971 972 mutex-pthread$(EXEEXT): 973 $(BENCH_V_CC)$(COMPILE) $(srcdir)/mutex/pthreads.c 974 975 mutex-cfa1$(EXEEXT): 976 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa1.cfa 977 978 mutex-cfa2$(EXEEXT): 979 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa2.cfa 980 981 mutex-cfa4$(EXEEXT): 982 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa4.cfa 890 983 891 984 mutex-upp$(EXEEXT): 892 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc 893 894 mutex-cfa1$(EXEEXT): 895 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.cfa 896 897 mutex-cfa2$(EXEEXT): 898 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.cfa 899 900 mutex-cfa4$(EXEEXT): 901 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.cfa 902 903 mutex-java_thread$(EXEEXT): 985 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/mutex/upp.cc 986 987 mutex-go$(EXEEXT): 988 $(BENCH_V_GOC)go build -o a.out $(srcdir)/mutex/goroutine.go 989 990 mutex-rust$(EXEEXT): 991 $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/mutex/rust.rs 992 993 mutex-java$(EXEEXT): 904 994 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java 905 @echo "#!/bin/sh" > a.out 906 @echo "java JavaThread" >> a.out 907 @chmod a+x a.out 908 909 signal$(EXEEXT) :\ 910 signal-pthread_cond.run \ 911 signal-upp.run \ 912 signal-cfa1.run \ 913 signal-cfa2.run \ 914 signal-cfa4.run \ 915 signal-java_thread.run 916 917 signal-pthread_cond$(EXEEXT): 918 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000 $(srcdir)/schedint/pthreads.c 919 920 signal-upp$(EXEEXT): 921 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc 922 923 signal-cfa1$(EXEEXT): 924 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.cfa 925 926 signal-cfa2$(EXEEXT): 927 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.cfa 928 929 signal-cfa4$(EXEEXT): 930 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.cfa 931 932 signal-java_thread$(EXEEXT): 995 echo "#!/bin/sh" > a.out 996 echo "java JavaThread" >> a.out 997 chmod a+x a.out 998 999 schedint$(EXEEXT) : \ 1000 schedint-cfa1.run \ 1001 schedint-cfa2.run \ 1002 schedint-cfa4.run \ 1003 schedint-upp.run \ 1004 schedint-rust.run \ 1005 schedint-java.run \ 1006 schedint-pthread.run 1007 1008 schedint-cfa1$(EXEEXT): 1009 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa1.cfa 1010 1011 schedint-cfa2$(EXEEXT): 1012 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa2.cfa 1013 1014 schedint-cfa4$(EXEEXT): 1015 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa4.cfa 1016 1017 schedint-upp$(EXEEXT): 1018 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedint/upp.cc 1019 1020 schedint-rust$(EXEEXT): 1021 $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/schedint/rust.rs 1022 1023 schedint-java$(EXEEXT): 933 1024 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java 934 @echo "#!/bin/sh" > a.out 935 @echo "java JavaThread" >> a.out 936 @chmod a+x a.out 937 938 waitfor$(EXEEXT) :\ 939 waitfor-upp.run \ 940 waitfor-cfa1.run \ 941 waitfor-cfa2.run \ 942 waitfor-cfa4.run 943 944 waitfor-upp$(EXEEXT): 945 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc 946 947 waitfor-cfa1$(EXEEXT): 948 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.cfa 949 950 waitfor-cfa2$(EXEEXT): 951 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.cfa 952 953 waitfor-cfa4$(EXEEXT): 954 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.cfa 955 956 creation$(EXEEXT) :\ 957 creation-pthread.run \ 1025 echo "#!/bin/sh" > a.out 1026 echo "java JavaThread" >> a.out 1027 chmod a+x a.out 1028 1029 schedint-pthread$(EXEEXT): 1030 $(BENCH_V_CC)$(COMPILE) $(srcdir)/schedint/pthreads.c 1031 1032 schedext$(EXEEXT) : \ 1033 schedext-cfa1.run \ 1034 schedext-cfa2.run \ 1035 schedext-cfa4.run \ 1036 schedext-upp.run \ 1037 schedext-goroutine.run 1038 1039 schedext-cfa1$(EXEEXT): 1040 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa1.cfa 1041 1042 schedext-cfa2$(EXEEXT): 1043 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa2.cfa 1044 1045 schedext-cfa4$(EXEEXT): 1046 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa4.cfa 1047 1048 schedext-upp$(EXEEXT): 1049 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedext/upp.cc 1050 1051 schedext-goroutine$(EXEEXT): 1052 $(BENCH_V_GOC)go build -o a.out $(srcdir)/schedext/goroutine.go 1053 1054 creation$(EXEEXT) : \ 1055 creation-cfa_generator.run \ 958 1056 creation-cfa_coroutine.run \ 959 1057 creation-cfa_coroutine_eager.run \ … … 961 1059 creation-upp_coroutine.run \ 962 1060 creation-upp_thread.run \ 963 creation-goroutine.run \ 964 creation-java_thread.run 1061 creation-python_coroutine.run \ 1062 creation-nodejs_coroutine.run \ 1063 creation-goroutine_thread.run \ 1064 creation-rust_thread.run \ 1065 creation-java_thread.run \ 1066 creation-pthread.run 1067 1068 creation-cfa_generator$(EXEEXT): 1069 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_gen.cfa 965 1070 966 1071 creation-cfa_coroutine$(EXEEXT): 967 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000$(srcdir)/creation/cfa_cor.cfa1072 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa 968 1073 969 1074 creation-cfa_coroutine_eager$(EXEEXT): 970 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000$(srcdir)/creation/cfa_cor.cfa -DEAGER1075 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa -DEAGER 971 1076 972 1077 creation-cfa_thread$(EXEEXT): 973 $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000$(srcdir)/creation/cfa_thrd.cfa1078 $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_thrd.cfa 974 1079 975 1080 creation-upp_coroutine$(EXEEXT): 976 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000$(srcdir)/creation/upp_cor.cc1081 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/creation/upp_cor.cc 977 1082 978 1083 creation-upp_thread$(EXEEXT): 979 $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc 980 981 creation-pthread$(EXEEXT): 982 $(BENCH_V_CC)$(COMPILE) -DBENCH_N=250000 $(srcdir)/creation/pthreads.c 983 984 creation-goroutine$(EXEEXT): 1084 $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/creation/upp_thrd.cc 1085 1086 creation-python_coroutine$(EXEEXT): 1087 echo "#!/bin/sh" > a.out 1088 echo "python3.7 $(srcdir)/creation/python_cor.py" >> a.out 1089 chmod a+x a.out 1090 1091 creation-nodejs_coroutine$(EXEEXT): 1092 echo "#!/bin/sh" > a.out 1093 echo "nodejs $(srcdir)/creation/node_cor.js" >> a.out 1094 chmod a+x a.out 1095 1096 creation-goroutine_thread$(EXEEXT): 985 1097 $(BENCH_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go 1098 1099 creation-rust_thread$(EXEEXT): 1100 $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/creation/rust_thrd.rs 986 1101 987 1102 creation-java_thread$(EXEEXT): 988 1103 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java 989 @echo "#!/bin/sh" > a.out 990 @echo "java JavaThread" >> a.out 991 @chmod a+x a.out 992 993 compile$(EXEEXT) :\ 1104 echo "#!/bin/sh" > a.out 1105 echo "java JavaThread" >> a.out 1106 chmod a+x a.out 1107 1108 creation-pthread$(EXEEXT): 1109 $(BENCH_V_CC)$(COMPILE) $(srcdir)/creation/pthreads.c 1110 1111 compile$(EXEEXT) : \ 994 1112 compile-array.make \ 995 1113 compile-attributes.make \ … … 1002 1120 1003 1121 compile-array$(EXEEXT): 1004 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa1122 $(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa 1005 1123 1006 1124 compile-attributes$(EXEEXT): 1007 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa1125 $(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa 1008 1126 1009 1127 compile-empty$(EXEEXT): 1010 @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa1128 $(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa 1011 1129 1012 1130 compile-expression$(EXEEXT): 1013 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa1131 $(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa 1014 1132 1015 1133 compile-io$(EXEEXT): 1016 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa1134 $(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa 1017 1135 1018 1136 compile-monitor$(EXEEXT): 1019 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa1137 $(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa 1020 1138 1021 1139 compile-operators$(EXEEXT): 1022 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa1140 $(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa 1023 1141 1024 1142 compile-thread$(EXEEXT): 1025 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa1143 $(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa 1026 1144 1027 1145 compile-typeof$(EXEEXT): 1028 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa1146 $(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa 1029 1147 1030 1148 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Note:
See TracChangeset
for help on using the changeset viewer.