source: benchmark/Makefile.in @ 50b8885

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 50b8885 was 8633485b, checked in by Peter A. Buhr <pabuhr@…>, 5 years ago

update Nodejs experiment for concurrency paper

  • Property mode set to 100644
File size: 35.6 KB
Line 
1# Makefile.in generated by automake 1.15 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17######################## -*- Mode: Makefile-Automake -*- ######################
18###############################################################################
19VPATH = @srcdir@
20am__is_gnu_make = { \
21  if test -z '$(MAKELEVEL)'; then \
22    false; \
23  elif test -n '$(MAKE_HOST)'; then \
24    true; \
25  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
26    true; \
27  else \
28    false; \
29  fi; \
30}
31am__make_running_with_option = \
32  case $${target_option-} in \
33      ?) ;; \
34      *) echo "am__make_running_with_option: internal error: invalid" \
35              "target option '$${target_option-}' specified" >&2; \
36         exit 1;; \
37  esac; \
38  has_opt=no; \
39  sane_makeflags=$$MAKEFLAGS; \
40  if $(am__is_gnu_make); then \
41    sane_makeflags=$$MFLAGS; \
42  else \
43    case $$MAKEFLAGS in \
44      *\\[\ \   ]*) \
45        bs=\\; \
46        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
47          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
48    esac; \
49  fi; \
50  skip_next=no; \
51  strip_trailopt () \
52  { \
53    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
54  }; \
55  for flg in $$sane_makeflags; do \
56    test $$skip_next = yes && { skip_next=no; continue; }; \
57    case $$flg in \
58      *=*|--*) continue;; \
59        -*I) strip_trailopt 'I'; skip_next=yes;; \
60      -*I?*) strip_trailopt 'I';; \
61        -*O) strip_trailopt 'O'; skip_next=yes;; \
62      -*O?*) strip_trailopt 'O';; \
63        -*l) strip_trailopt 'l'; skip_next=yes;; \
64      -*l?*) strip_trailopt 'l';; \
65      -[dEDm]) skip_next=yes;; \
66      -[JT]) skip_next=yes;; \
67    esac; \
68    case $$flg in \
69      *$$target_option*) has_opt=yes; break;; \
70    esac; \
71  done; \
72  test $$has_opt = yes
73am__make_dryrun = (target_option=n; $(am__make_running_with_option))
74am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
75pkgdatadir = $(datadir)/@PACKAGE@
76pkgincludedir = $(includedir)/@PACKAGE@
77pkglibdir = $(libdir)/@PACKAGE@
78pkglibexecdir = $(libexecdir)/@PACKAGE@
79am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
80install_sh_DATA = $(install_sh) -c -m 644
81install_sh_PROGRAM = $(install_sh) -c
82install_sh_SCRIPT = $(install_sh) -c
83INSTALL_HEADER = $(INSTALL_DATA)
84transform = $(program_transform_name)
85NORMAL_INSTALL = :
86PRE_INSTALL = :
87POST_INSTALL = :
88NORMAL_UNINSTALL = :
89PRE_UNINSTALL = :
90POST_UNINSTALL = :
91build_triplet = @build@
92host_triplet = @host@
93EXTRA_PROGRAMS = dummy$(EXEEXT)
94@WITH_LIBFIBRE_TRUE@am__append_1 = \
95@WITH_LIBFIBRE_TRUE@    ctxswitch-kos_fibre.run         \
96@WITH_LIBFIBRE_TRUE@    ctxswitch-kos_fibre2.run
97
98subdir = benchmark
99ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
100am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \
101        $(top_srcdir)/automake/ltoptions.m4 \
102        $(top_srcdir)/automake/ltsugar.m4 \
103        $(top_srcdir)/automake/ltversion.m4 \
104        $(top_srcdir)/automake/lt~obsolete.m4 \
105        $(top_srcdir)/automake/cfa.m4 $(top_srcdir)/configure.ac
106am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
107        $(ACLOCAL_M4)
108DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
109mkinstalldirs = $(install_sh) -d
110CONFIG_HEADER = $(top_builddir)/config.h
111CONFIG_CLEAN_FILES =
112CONFIG_CLEAN_VPATH_FILES =
113am_dummy_OBJECTS = dummyC.$(OBJEXT) dummyCXX.$(OBJEXT)
114dummy_OBJECTS = $(am_dummy_OBJECTS)
115dummy_LDADD = $(LDADD)
116AM_V_lt = $(am__v_lt_@AM_V@)
117am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
118am__v_lt_0 = --silent
119am__v_lt_1 =
120AM_V_P = $(am__v_P_@AM_V@)
121am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
122am__v_P_0 = false
123am__v_P_1 = :
124AM_V_GEN = $(am__v_GEN_@AM_V@)
125am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
126am__v_GEN_0 = @echo "  GEN     " $@;
127am__v_GEN_1 =
128AM_V_at = $(am__v_at_@AM_V@)
129am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
130am__v_at_0 = @
131am__v_at_1 =
132DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
133depcomp = $(SHELL) $(top_srcdir)/automake/depcomp
134am__depfiles_maybe = depfiles
135am__mv = mv -f
136COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
137        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
138LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
139        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
140        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
141        $(AM_CFLAGS) $(CFLAGS)
142AM_V_CC = $(am__v_CC_@AM_V@)
143am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
144am__v_CC_0 = @echo "  CC      " $@;
145am__v_CC_1 =
146CCLD = $(CC)
147LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
148        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
149        $(AM_LDFLAGS) $(LDFLAGS) -o $@
150AM_V_CCLD = $(am__v_CCLD_@AM_V@)
151am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
152am__v_CCLD_0 = @echo "  CCLD    " $@;
153am__v_CCLD_1 =
154CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
155        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
156LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
157        $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
158        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
159        $(AM_CXXFLAGS) $(CXXFLAGS)
160AM_V_CXX = $(am__v_CXX_@AM_V@)
161am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
162am__v_CXX_0 = @echo "  CXX     " $@;
163am__v_CXX_1 =
164CXXLD = $(CXX)
165CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
166        $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
167        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
168AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
169am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
170am__v_CXXLD_0 = @echo "  CXXLD   " $@;
171am__v_CXXLD_1 =
172SOURCES = $(dummy_SOURCES)
173DIST_SOURCES = $(dummy_SOURCES)
174am__can_run_installinfo = \
175  case $$AM_UPDATE_INFO_DIR in \
176    n|no|NO) false;; \
177    *) (install-info --version) >/dev/null 2>&1;; \
178  esac
179am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
180# Read a list of newline-separated strings from the standard input,
181# and print each of them once, without duplicates.  Input order is
182# *not* preserved.
183am__uniquify_input = $(AWK) '\
184  BEGIN { nonempty = 0; } \
185  { items[$$0] = 1; nonempty = 1; } \
186  END { if (nonempty) { for (i in items) print i; }; } \
187'
188# Make sure the list of sources is unique.  This is necessary because,
189# e.g., the same source file might be shared among _SOURCES variables
190# for different programs/libraries.
191am__define_uniq_tagged_files = \
192  list='$(am__tagged_files)'; \
193  unique=`for i in $$list; do \
194    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
195  done | $(am__uniquify_input)`
196ETAGS = etags
197CTAGS = ctags
198am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/automake/depcomp \
199        $(top_srcdir)/src/cfa.make compile
200DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
201ACLOCAL = @ACLOCAL@
202AMTAR = @AMTAR@
203AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
204AR = @AR@
205AUTOCONF = @AUTOCONF@
206AUTOHEADER = @AUTOHEADER@
207AUTOMAKE = @AUTOMAKE@
208AWK = @AWK@
209BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
210CC = @CC@
211CCAS = @CCAS@
212CCASDEPMODE = @CCASDEPMODE@
213CCASFLAGS = @CCASFLAGS@
214CCDEPMODE = @CCDEPMODE@
215CFACC = @CFACC@
216CFACC_INSTALL = @CFACC_INSTALL@
217CFACPP = @CFACPP@
218CFA_BACKEND_CC = @CFA_BACKEND_CC@
219CFA_BINDIR = @CFA_BINDIR@
220CFA_FLAGS = @CFA_FLAGS@
221CFA_INCDIR = @CFA_INCDIR@
222CFA_LIBDIR = @CFA_LIBDIR@
223CFA_NAME = @CFA_NAME@
224CFA_PREFIX = @CFA_PREFIX@
225CFLAGS = @CFLAGS@
226CPP = @CPP@
227CPPFLAGS = @CPPFLAGS@
228CXX = @CXX@
229CXXCPP = @CXXCPP@
230CXXDEPMODE = @CXXDEPMODE@
231CXXFLAGS = @CXXFLAGS@
232CYGPATH_W = @CYGPATH_W@
233DEFS = @DEFS@
234DEMANGLER = @DEMANGLER@
235DEPDIR = @DEPDIR@
236DLLTOOL = @DLLTOOL@
237DRIVER_DIR = @DRIVER_DIR@
238DSYMUTIL = @DSYMUTIL@
239DUMPBIN = @DUMPBIN@
240ECHO_C = @ECHO_C@
241ECHO_N = @ECHO_N@
242ECHO_T = @ECHO_T@
243EGREP = @EGREP@
244EXEEXT = @EXEEXT@
245FGREP = @FGREP@
246GREP = @GREP@
247HAS_DISTCC = @HAS_DISTCC@
248HOST_FLAGS = @HOST_FLAGS@
249INSTALL = @INSTALL@
250INSTALL_DATA = @INSTALL_DATA@
251INSTALL_PROGRAM = @INSTALL_PROGRAM@
252INSTALL_SCRIPT = @INSTALL_SCRIPT@
253INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
254LD = @LD@
255LDFLAGS = @LDFLAGS@
256LEX = @LEX@
257LEXLIB = @LEXLIB@
258LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
259LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@
260LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@
261LIBDEMANGLE = @LIBDEMANGLE@
262LIBOBJS = @LIBOBJS@
263LIBS = @LIBS@
264LIBTOOL = @LIBTOOL@
265LIPO = @LIPO@
266LN_S = @LN_S@
267LTLIBOBJS = @LTLIBOBJS@
268LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
269MAKEINFO = @MAKEINFO@
270MANIFEST_TOOL = @MANIFEST_TOOL@
271MKDIR_P = @MKDIR_P@
272NM = @NM@
273NMEDIT = @NMEDIT@
274OBJDUMP = @OBJDUMP@
275OBJEXT = @OBJEXT@
276OTOOL = @OTOOL@
277OTOOL64 = @OTOOL64@
278PACKAGE = @PACKAGE@
279PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
280PACKAGE_NAME = @PACKAGE_NAME@
281PACKAGE_STRING = @PACKAGE_STRING@
282PACKAGE_TARNAME = @PACKAGE_TARNAME@
283PACKAGE_URL = @PACKAGE_URL@
284PACKAGE_VERSION = @PACKAGE_VERSION@
285PATH_SEPARATOR = @PATH_SEPARATOR@
286RANLIB = @RANLIB@
287SED = @SED@
288SET_MAKE = @SET_MAKE@
289SHELL = @SHELL@
290STRIP = @STRIP@
291TARGET_HOSTS = @TARGET_HOSTS@
292VERSION = @VERSION@
293YACC = @YACC@
294YFLAGS = @YFLAGS@
295abs_builddir = @abs_builddir@
296abs_srcdir = @abs_srcdir@
297abs_top_builddir = @abs_top_builddir@
298abs_top_srcdir = @abs_top_srcdir@
299ac_ct_AR = @ac_ct_AR@
300ac_ct_CC = @ac_ct_CC@
301ac_ct_CXX = @ac_ct_CXX@
302ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
303am__include = @am__include@
304am__leading_dot = @am__leading_dot@
305am__quote = @am__quote@
306am__tar = @am__tar@
307am__untar = @am__untar@
308bindir = @bindir@
309build = @build@
310build_alias = @build_alias@
311build_cpu = @build_cpu@
312build_os = @build_os@
313build_vendor = @build_vendor@
314builddir = @builddir@
315datadir = @datadir@
316datarootdir = @datarootdir@
317docdir = @docdir@
318dvidir = @dvidir@
319exec_prefix = @exec_prefix@
320host = @host@
321host_alias = @host_alias@
322host_cpu = @host_cpu@
323host_os = @host_os@
324host_vendor = @host_vendor@
325htmldir = @htmldir@
326includedir = @includedir@
327infodir = @infodir@
328install_sh = @install_sh@
329libdir = @libdir@
330libexecdir = @libexecdir@
331localedir = @localedir@
332localstatedir = @localstatedir@
333mandir = @mandir@
334mkdir_p = @mkdir_p@
335oldincludedir = @oldincludedir@
336pdfdir = @pdfdir@
337prefix = @prefix@
338program_transform_name = @program_transform_name@
339psdir = @psdir@
340runstatedir = @runstatedir@
341sbindir = @sbindir@
342sharedstatedir = @sharedstatedir@
343srcdir = @srcdir@
344sysconfdir = @sysconfdir@
345target_alias = @target_alias@
346top_build_prefix = @top_build_prefix@
347top_builddir = @top_builddir@
348top_srcdir = @top_srcdir@
349AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
350ACLOCAL_AMFLAGS = -I automake
351CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
352LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
353        $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \
354        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(AM_CFLAGS) $(CFAFLAGS) $(CFLAGS)
355
356AM_V_CFA = $(am__v_CFA_@AM_V@)
357am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@)
358am__v_CFA_0 = @echo "  CFA     " $@;
359am__v_CFA_1 =
360UPPCC = u++
361UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
362AM_V_UPP = $(am__v_UPP_@AM_V@)
363am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@)
364am__v_UPP_0 = @echo "  UPP     " $@;
365am__v_UPP_1 =
366AM_V_GOC = $(am__v_GOC_@AM_V@)
367am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)
368am__v_GOC_0 = @echo "  GOC     " $@;
369am__v_GOC_1 =
370AM_V_RUST = $(am__v_RUST_@AM_V@)
371am__v_RUST_ = $(am__v_RUST_@AM_DEFAULT_V@)
372am__v_RUST_0 = @echo "  RUST     " $@;
373am__v_RUST_1 =
374AM_V_NODEJS = $(am__v_NODEJS_@AM_V@)
375am__v_NODEJS_ = $(am__v_NODEJS_@AM_DEFAULT_V@)
376am__v_NODEJS_0 = @echo "  NODEJS     " $@;
377am__v_NODEJS_1 =
378AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)
379am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)
380am__v_JAVAC_0 = @echo "  JAVAC   " $@;
381am__v_JAVAC_1 =
382
383# applies to both programs
384AM_CFLAGS = -O2 -Wall -Wextra -I$(srcdir) -lrt -pthread # -Werror
385AM_CFAFLAGS = -quiet -nodebug
386AM_UPPFLAGS = -quiet -nodebug -multi -std=c++14
387BENCH_V_CC = $(__bench_v_CC_$(__quiet))
388BENCH_V_CFA = $(__bench_v_CFA_$(__quiet))
389BENCH_V_CXX = $(__bench_v_CXX_$(__quiet))
390BENCH_V_UPP = $(__bench_v_UPP_$(__quiet))
391BENCH_V_GOC = $(__bench_v_GOC_$(__quiet))
392BENCH_V_RUSTC = $(__bench_v_RUSTC_$(__quiet))
393BENCH_V_NODEJS = $(__bench_v_NODEJS_$(__quiet))
394BENCH_V_JAVAC = $(__bench_v_JAVAC_$(__quiet))
395__quiet = verbose
396__bench_v_CC_quiet = @
397__bench_v_CFA_quiet = @
398__bench_v_CXX_quiet = @
399__bench_v_UPP_quiet = @
400__bench_v_GOC_quiet = @
401__bench_v_RUSTC_quiet = @
402__bench_v_JAVAC_quiet = @
403__bench_v_CC_verbose = $(AM_V_CC)
404__bench_v_CFA_verbose = $(AM_V_CFA)
405__bench_v_CXX_verbose = $(AM_V_CXX)
406__bench_v_UPP_verbose = $(AM_V_UPP)
407__bench_v_GOC_verbose = $(AM_V_GOC)
408__bench_v_RUSTC_verbose = $(AM_V_RUSTC)
409__bench_v_NODEJS_verbose = $(AM_V_NODEJS)
410__bench_v_JAVAC_verbose = $(AM_V_JAVAC)
411TOOLSDIR = ${abs_top_builddir}/tools/
412REPEAT = ${abs_top_builddir}/tools/repeat
413STATS = ${abs_top_srcdir}/tools/stat.py
414# NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED
415repeats = 13 # 31 for benchmarks
416arch = x64
417skipcompile = no
418TIME_FORMAT = "%E"
419PRINT_FORMAT = %20s: #Comments needed for spacing
420dummy_SOURCES = dummyC.c dummyCXX.cpp
421basic_loop_DURATION = 15000000000
422basic_function_DURATION = 10000000000
423basic_tls_fetch_add_DURATION = 10000000000
424basic_DURATION = 250000000
425ctxswitch_pthread_DURATION = 25000000
426ctxswitch_rust_thread_DURATION = $(ctxswitch_pthread_DURATION)
427ctxswitch_cfa_generator_DURATION = 5000000000
428ctxswitch_nodejs_await_DURATION = 5000000
429ctxswitch_DURATION = 100000000
430
431#mutex_java_DURATION = 10000000
432mutex_DURATION = 50000000
433schedint_pthread_DURATION = 1000000
434schedint_java_DURATION = $(schedint_pthread_DURATION)
435schedint_rust_DURATION = $(schedint_pthread_DURATION)
436schedint_DURATION = 10000000
437schedext_DURATION = 10000000
438creation_pthread_DURATION = 250000
439creation_rust_thread_DURATION = ${creation_pthread_DURATION}
440creation_java_thread_DURATION = ${creation_pthread_DURATION}
441creation_cfa_coroutine_DURATION = 100000000
442creation_cfa_coroutine_eager_DURATION = 10000000
443creation_upp_coroutine_DURATION = ${creation_cfa_coroutine_eager_DURATION}
444creation_cfa_thread_DURATION = 10000000
445creation_upp_thread_DURATION = ${creation_cfa_thread_DURATION}
446creation_DURATION = 10000000
447FIX_NEW_LINES = cat $@ | tr "\n" "\t" | sed -r 's/\t,/,/' | tr "\t" "\n" > $@
448BASIC_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
455CTXSWITCH_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)
463testdir = $(top_srcdir)/tests
464all: all-am
465
466.SUFFIXES:
467.SUFFIXES: .c .cfa .cpp .lo .o .obj
468$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps)
469        @for dep in $?; do \
470          case '$(am__configure_deps)' in \
471            *$$dep*) \
472              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
473                && { if test -f $@; then exit 0; else break; fi; }; \
474              exit 1;; \
475          esac; \
476        done; \
477        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign benchmark/Makefile'; \
478        $(am__cd) $(top_srcdir) && \
479          $(AUTOMAKE) --foreign benchmark/Makefile
480Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
481        @case '$?' in \
482          *config.status*) \
483            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
484          *) \
485            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
486            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
487        esac;
488$(top_srcdir)/src/cfa.make $(am__empty):
489
490$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
491        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
492
493$(top_srcdir)/configure:  $(am__configure_deps)
494        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
495$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
496        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
497$(am__aclocal_m4_deps):
498
499dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) $(EXTRA_dummy_DEPENDENCIES)
500        @rm -f dummy$(EXEEXT)
501        $(AM_V_CXXLD)$(CXXLINK) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS)
502
503mostlyclean-compile:
504        -rm -f *.$(OBJEXT)
505
506distclean-compile:
507        -rm -f *.tab.c
508
509@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummyC.Po@am__quote@
510@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummyCXX.Po@am__quote@
511
512.c.o:
513@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
514@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
515@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
516@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
517@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
518@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
519
520.c.obj:
521@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
522@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
523@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
524@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
525@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
526@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
527
528.c.lo:
529@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
530@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
531@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
532@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
533@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
534@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
535
536.cpp.o:
537@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
538@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
539@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
540@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
541@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
542@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
543
544.cpp.obj:
545@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
546@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
547@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
548@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
549@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
550@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
551
552.cpp.lo:
553@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
554@am__fastdepCXX_TRUE@   $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
555@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
556@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
557@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
558@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
559
560mostlyclean-libtool:
561        -rm -f *.lo
562
563clean-libtool:
564        -rm -rf .libs _libs
565
566ID: $(am__tagged_files)
567        $(am__define_uniq_tagged_files); mkid -fID $$unique
568tags: tags-am
569TAGS: tags
570
571tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
572        set x; \
573        here=`pwd`; \
574        $(am__define_uniq_tagged_files); \
575        shift; \
576        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
577          test -n "$$unique" || unique=$$empty_fix; \
578          if test $$# -gt 0; then \
579            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
580              "$$@" $$unique; \
581          else \
582            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
583              $$unique; \
584          fi; \
585        fi
586ctags: ctags-am
587
588CTAGS: ctags
589ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
590        $(am__define_uniq_tagged_files); \
591        test -z "$(CTAGS_ARGS)$$unique" \
592          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
593             $$unique
594
595GTAGS:
596        here=`$(am__cd) $(top_builddir) && pwd` \
597          && $(am__cd) $(top_srcdir) \
598          && gtags -i $(GTAGS_ARGS) "$$here"
599cscopelist: cscopelist-am
600
601cscopelist-am: $(am__tagged_files)
602        list='$(am__tagged_files)'; \
603        case "$(srcdir)" in \
604          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
605          *) sdir=$(subdir)/$(srcdir) ;; \
606        esac; \
607        for i in $$list; do \
608          if test -f "$$i"; then \
609            echo "$(subdir)/$$i"; \
610          else \
611            echo "$$sdir/$$i"; \
612          fi; \
613        done >> $(top_builddir)/cscope.files
614
615distclean-tags:
616        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
617
618distdir: $(DISTFILES)
619        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
620        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
621        list='$(DISTFILES)'; \
622          dist_files=`for file in $$list; do echo $$file; done | \
623          sed -e "s|^$$srcdirstrip/||;t" \
624              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
625        case $$dist_files in \
626          */*) $(MKDIR_P) `echo "$$dist_files" | \
627                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
628                           sort -u` ;; \
629        esac; \
630        for file in $$dist_files; do \
631          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
632          if test -d $$d/$$file; then \
633            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
634            if test -d "$(distdir)/$$file"; then \
635              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
636            fi; \
637            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
638              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
639              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
640            fi; \
641            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
642          else \
643            test -f "$(distdir)/$$file" \
644            || cp -p $$d/$$file "$(distdir)/$$file" \
645            || exit 1; \
646          fi; \
647        done
648check-am: all-am
649check: check-am
650all-am: Makefile
651installdirs:
652install: install-am
653install-exec: install-exec-am
654install-data: install-data-am
655uninstall: uninstall-am
656
657install-am: all-am
658        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
659
660installcheck: installcheck-am
661install-strip:
662        if test -z '$(STRIP)'; then \
663          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
664            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
665              install; \
666        else \
667          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
668            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
669            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
670        fi
671mostlyclean-generic:
672
673clean-generic:
674
675distclean-generic:
676        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
677        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
678
679maintainer-clean-generic:
680        @echo "This command is intended for maintainers to use"
681        @echo "it deletes files that may require special tools to rebuild."
682clean: clean-am
683
684clean-am: clean-generic clean-libtool mostlyclean-am
685
686distclean: distclean-am
687        -rm -rf ./$(DEPDIR)
688        -rm -f Makefile
689distclean-am: clean-am distclean-compile distclean-generic \
690        distclean-tags
691
692dvi: dvi-am
693
694dvi-am:
695
696html: html-am
697
698html-am:
699
700info: info-am
701
702info-am:
703
704install-data-am:
705
706install-dvi: install-dvi-am
707
708install-dvi-am:
709
710install-exec-am:
711
712install-html: install-html-am
713
714install-html-am:
715
716install-info: install-info-am
717
718install-info-am:
719
720install-man:
721
722install-pdf: install-pdf-am
723
724install-pdf-am:
725
726install-ps: install-ps-am
727
728install-ps-am:
729
730installcheck-am:
731
732maintainer-clean: maintainer-clean-am
733        -rm -rf ./$(DEPDIR)
734        -rm -f Makefile
735maintainer-clean-am: distclean-am maintainer-clean-generic
736
737mostlyclean: mostlyclean-am
738
739mostlyclean-am: mostlyclean-compile mostlyclean-generic \
740        mostlyclean-libtool
741
742pdf: pdf-am
743
744pdf-am:
745
746ps: ps-am
747
748ps-am:
749
750uninstall-am:
751
752.MAKE: install-am install-strip
753
754.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
755        clean-libtool cscopelist-am ctags ctags-am distclean \
756        distclean-compile distclean-generic distclean-libtool \
757        distclean-tags distdir dvi dvi-am html html-am info info-am \
758        install install-am install-data install-data-am install-dvi \
759        install-dvi-am install-exec install-exec-am install-html \
760        install-html-am install-info install-info-am install-man \
761        install-pdf install-pdf-am install-ps install-ps-am \
762        install-strip installcheck installcheck-am installdirs \
763        maintainer-clean maintainer-clean-generic mostlyclean \
764        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
765        pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am
766
767.PRECIOUS: Makefile
768
769
770.cfa.o:
771        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
772        $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
773        $(am__mv) $$depbase.Tpo $$depbase.Po
774
775.cfa.lo:
776        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
777        $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
778        $(am__mv) $$depbase.Tpo $$depbase.Plo
779
780dummyC.c:
781        echo "int main() { return 0; }" > ${@}
782
783dummyCXX.cpp:
784        echo "int main() { return 0; }" > ${@}
785
786#.SILENT:               # do not print recipe
787.ONESHELL:              # use one shell to execute recipe
788.NOTPARALLEL:
789.PHONY: compile.csv basic.csv ctxswitch.csv mutex.csv schedint.csv
790
791all : basic$(EXEEXT) ctxswitch$(EXEEXT) mutex$(EXEEXT) schedint$(EXEEXT) schedext$(EXEEXT) creation$(EXEEXT)
792
793%.run : %$(EXEEXT) ${REPEAT}
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
806
807%.runquiet :
808        +make $(basename $@) CFLAGS="-w" __quiet=quiet
809        taskset -c 1 ./a.out
810        rm -f a.out
811
812%.make :
813        printf "${PRINT_FORMAT}" $(basename $(subst compile-,,$@))
814        +/usr/bin/time -f ${TIME_FORMAT} make $(basename $@) 2>&1
815
816${REPEAT} :
817        +make -C ${abs_top_builddir}/tools repeat
818
819jenkins$(EXEEXT):
820@DOifskipcompile@
821        +make compile.csv
822        -+make compile.diff.csv
823@DOendif@
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
832@DOifskipcompile@
833        cat compile.csv
834        -cat compile.diff.csv
835@DOendif@
836        cat basic.csv
837        -cat basic.diff.csv
838        cat ctxswitch.csv
839        -cat ctxswitch.diff.csv
840        cat mutex.csv
841        -cat mutex.diff.csv
842        cat schedint.csv
843        -cat schedint.diff.csv
844
845compile.csv:
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
857basic.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 $@
863
864ctxswitch.csv:
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 $@
870
871mutex.csv:
872        echo "1-monitor,2-monitor" > $@
873        +make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@
874        +make mutex-cfa2.runquiet >> $@
875        $(srcdir)/fixcsv.sh $@
876
877schedint.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 $@
884
885%.diff.csv: %.csv
886        test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false)
887        $(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@
888
889basic-loop$(EXEEXT):
890        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/loop.c
891
892basic-function$(EXEEXT):
893        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/function.c
894
895basic-fetch_add$(EXEEXT):
896        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/fetch_add.c
897
898basic-ttst_lock$(EXEEXT):
899        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/ttst_lock.c
900
901basic-tls-fetch_add$(EXEEXT):
902        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/tls_fetch_add.c
903
904basic$(EXEEXT): $(BASIC_DEPEND)
905
906@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT):
907@WITH_LIBFIBRE_TRUE@    $(BENCH_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
908
909@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre2$(EXEEXT):
910@WITH_LIBFIBRE_TRUE@    $(BENCH_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
911
912ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND)
913
914ctxswitch-cfa_generator$(EXEEXT):
915        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_gen.cfa
916
917ctxswitch-cfa_coroutine$(EXEEXT):
918        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_cor.cfa
919
920ctxswitch-cfa_thread$(EXEEXT):
921        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_thrd.cfa
922
923ctxswitch-cfa_thread2$(EXEEXT):
924        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_thrd2.cfa
925
926ctxswitch-upp_coroutine$(EXEEXT):
927        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/ctxswitch/upp_cor.cc
928
929ctxswitch-upp_thread$(EXEEXT):
930        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/ctxswitch/upp_thrd.cc
931
932ctxswitch-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
937ctxswitch-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
942ctxswitch-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
947ctxswitch-goroutine_thread$(EXEEXT):
948        $(BENCH_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go
949
950ctxswitch-rust_thread$(EXEEXT):
951        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/ctxswitch/rust_thrd.rs
952
953ctxswitch-java_thread$(EXEEXT):
954        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
955        echo "#!/bin/sh" > a.out
956        echo "java JavaThread" >> a.out
957        chmod a+x a.out
958
959ctxswitch-pthread$(EXEEXT):
960        $(BENCH_V_CC)$(COMPILE) $(srcdir)/ctxswitch/pthreads.c
961
962mutex$(EXEEXT) :                \
963        mutex-cfa1.run          \
964        mutex-cfa2.run          \
965        mutex-cfa4.run          \
966        mutex-upp.run           \
967        mutex-go.run            \
968        mutex-rust.run          \
969        mutex-java.run          \
970        mutex-pthread.run
971
972mutex-pthread$(EXEEXT):
973        $(BENCH_V_CC)$(COMPILE) $(srcdir)/mutex/pthreads.c
974
975mutex-cfa1$(EXEEXT):
976        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa1.cfa
977
978mutex-cfa2$(EXEEXT):
979        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa2.cfa
980
981mutex-cfa4$(EXEEXT):
982        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa4.cfa
983
984mutex-upp$(EXEEXT):
985        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/mutex/upp.cc
986
987mutex-go$(EXEEXT):
988        $(BENCH_V_GOC)go build -o a.out $(srcdir)/mutex/goroutine.go
989
990mutex-rust$(EXEEXT):
991        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/mutex/rust.rs
992
993mutex-java$(EXEEXT):
994        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
995        echo "#!/bin/sh" > a.out
996        echo "java JavaThread" >> a.out
997        chmod a+x a.out
998
999schedint$(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
1008schedint-cfa1$(EXEEXT):
1009        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa1.cfa
1010
1011schedint-cfa2$(EXEEXT):
1012        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa2.cfa
1013
1014schedint-cfa4$(EXEEXT):
1015        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa4.cfa
1016
1017schedint-upp$(EXEEXT):
1018        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedint/upp.cc
1019
1020schedint-rust$(EXEEXT):
1021        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/schedint/rust.rs
1022
1023schedint-java$(EXEEXT):
1024        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
1025        echo "#!/bin/sh" > a.out
1026        echo "java JavaThread" >> a.out
1027        chmod a+x a.out
1028
1029schedint-pthread$(EXEEXT):
1030        $(BENCH_V_CC)$(COMPILE) $(srcdir)/schedint/pthreads.c
1031
1032schedext$(EXEEXT) :             \
1033        schedext-cfa1.run       \
1034        schedext-cfa2.run       \
1035        schedext-cfa4.run       \
1036        schedext-upp.run        \
1037        schedext-goroutine.run
1038
1039schedext-cfa1$(EXEEXT):
1040        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa1.cfa
1041
1042schedext-cfa2$(EXEEXT):
1043        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa2.cfa
1044
1045schedext-cfa4$(EXEEXT):
1046        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa4.cfa
1047
1048schedext-upp$(EXEEXT):
1049        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedext/upp.cc
1050
1051schedext-goroutine$(EXEEXT):
1052        $(BENCH_V_GOC)go build -o a.out $(srcdir)/schedext/goroutine.go
1053
1054creation$(EXEEXT) :                             \
1055        creation-cfa_generator.run              \
1056        creation-cfa_coroutine.run              \
1057        creation-cfa_coroutine_eager.run        \
1058        creation-cfa_thread.run                 \
1059        creation-upp_coroutine.run              \
1060        creation-upp_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
1068creation-cfa_generator$(EXEEXT):
1069        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_gen.cfa
1070
1071creation-cfa_coroutine$(EXEEXT):
1072        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa
1073
1074creation-cfa_coroutine_eager$(EXEEXT):
1075        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa  -DEAGER
1076
1077creation-cfa_thread$(EXEEXT):
1078        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_thrd.cfa
1079
1080creation-upp_coroutine$(EXEEXT):
1081        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/creation/upp_cor.cc
1082
1083creation-upp_thread$(EXEEXT):
1084        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/creation/upp_thrd.cc
1085
1086creation-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
1091creation-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
1096creation-goroutine_thread$(EXEEXT):
1097        $(BENCH_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go
1098
1099creation-rust_thread$(EXEEXT):
1100        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/creation/rust_thrd.rs
1101
1102creation-java_thread$(EXEEXT):
1103        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
1104        echo "#!/bin/sh" > a.out
1105        echo "java JavaThread" >> a.out
1106        chmod a+x a.out
1107
1108creation-pthread$(EXEEXT):
1109        $(BENCH_V_CC)$(COMPILE) $(srcdir)/creation/pthreads.c
1110
1111compile$(EXEEXT) :              \
1112        compile-array.make      \
1113        compile-attributes.make \
1114        compile-empty.make      \
1115        compile-expression.make \
1116        compile-io.make         \
1117        compile-monitor.make    \
1118        compile-operators.make  \
1119        compile-typeof.make
1120
1121compile-array$(EXEEXT):
1122        $(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa
1123
1124compile-attributes$(EXEEXT):
1125        $(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa
1126
1127compile-empty$(EXEEXT):
1128        $(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa
1129
1130compile-expression$(EXEEXT):
1131        $(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa
1132
1133compile-io$(EXEEXT):
1134        $(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa
1135
1136compile-monitor$(EXEEXT):
1137        $(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa
1138
1139compile-operators$(EXEEXT):
1140        $(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa
1141
1142compile-thread$(EXEEXT):
1143        $(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa
1144
1145compile-typeof$(EXEEXT):
1146        $(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
1147
1148# Tell versions [3.59,3.63) of GNU make to not export all variables.
1149# Otherwise a system limit (for SysV at least) may be exceeded.
1150.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.