- Timestamp:
- Jan 15, 2019, 4:16:15 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- c802eb88
- Parents:
- 5e49e47 (diff), c9aba81 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- benchmark
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.am
r5e49e47 rd0c91a6 16 16 17 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 18 ACLOCAL_AMFLAGS = -I automake 18 19 19 20 # applies to both programs 20 21 include $(top_srcdir)/src/cfa.make 21 22 22 UPPCC = u++ 23 UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS) 23 24 24 25 25 AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread … … 35 35 PRINT_FORMAT = %20s: #Comments needed for spacing 36 36 37 # Dummy hack tricks 37 38 EXTRA_PROGRAMS = dummy # build but do not install 38 39 39 dummy_SOURCES = dummyC.c dummyCXX.cpp 40 40 … … 47 47 .NOTPARALLEL: 48 48 49 noinst_PROGRAMS = 50 49 ## ========================================================================================================= 51 50 all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT) 52 51 … … 58 57 @${STATS} .result.log 59 58 @echo "------------------------------------------------------" 60 @rm -f a.out .result.log 59 @rm -f a.out .result.log *.class 61 60 62 61 %.runquiet : … … 111 110 ## ========================================================================================================= 112 111 loop$(EXEEXT): 113 $( COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c112 $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c 114 113 115 114 function$(EXEEXT): 116 $( COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c115 $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c 117 116 118 117 fetch_add$(EXEEXT): 119 $( COMPILE) -DBENCH_N=500000000 $(srcdir)/fetch_add.c118 $(AM_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/fetch_add.c 120 119 121 120 ## ========================================================================================================= … … 140 139 141 140 ctxswitch-kos_fibre$(EXEEXT): 142 @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp -I$(LIBFIBRE_DIR) -lfibre141 $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp -I$(LIBFIBRE_DIR) -lfibre 143 142 144 143 ctxswitch-kos_fibre2$(EXEEXT): 145 @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre144 $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre 146 145 endif 147 146 … … 149 148 150 149 ctxswitch-pthread$(EXEEXT): 151 @$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c150 $(AM_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c 152 151 153 152 ctxswitch-cfa_coroutine$(EXEEXT): 154 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa153 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa 155 154 156 155 ctxswitch-cfa_thread$(EXEEXT): 157 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa156 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa 158 157 159 158 ctxswitch-cfa_thread2$(EXEEXT): 160 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa159 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa 161 160 162 161 ctxswitch-upp_coroutine$(EXEEXT): 163 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc162 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc 164 163 165 164 ctxswitch-upp_thread$(EXEEXT): 166 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc165 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc 167 166 168 167 ctxswitch-goroutine$(EXEEXT): 169 @go build -o a.out $(srcdir)/ctxswitch/goroutine.go168 $(AM_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go 170 169 171 170 ctxswitch-java_thread$(EXEEXT): 172 @javac -d .$(srcdir)/ctxswitch/JavaThread.java171 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java 173 172 @echo "#!/bin/sh" > a.out 174 173 @echo "java JavaThread" >> a.out … … 188 187 189 188 mutex-pthread_lock$(EXEEXT): 190 @$(COMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c189 $(AM_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c 191 190 192 191 mutex-upp$(EXEEXT): 193 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc192 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc 194 193 195 194 mutex-cfa1$(EXEEXT): 196 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.cfa195 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.cfa 197 196 198 197 mutex-cfa2$(EXEEXT): 199 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.cfa198 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.cfa 200 199 201 200 mutex-cfa4$(EXEEXT): 202 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.cfa201 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.cfa 203 202 204 203 mutex-java_thread$(EXEEXT): 205 @javac -d .$(srcdir)/mutex/JavaThread.java204 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java 206 205 @echo "#!/bin/sh" > a.out 207 206 @echo "java JavaThread" >> a.out … … 218 217 219 218 signal-pthread_cond$(EXEEXT): 220 @$(COMPILE) -DBENCH_N=500000 $(srcdir)/schedint/pthreads.c219 $(AM_V_CC)$(COMPILE) -DBENCH_N=500000 $(srcdir)/schedint/pthreads.c 221 220 222 221 signal-upp$(EXEEXT): 223 @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc222 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc 224 223 225 224 signal-cfa1$(EXEEXT): 226 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.cfa225 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.cfa 227 226 228 227 signal-cfa2$(EXEEXT): 229 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.cfa228 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.cfa 230 229 231 230 signal-cfa4$(EXEEXT): 232 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.cfa231 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.cfa 233 232 234 233 signal-java_thread$(EXEEXT): 235 @javac -d .$(srcdir)/schedint/JavaThread.java234 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java 236 235 @echo "#!/bin/sh" > a.out 237 236 @echo "java JavaThread" >> a.out … … 247 246 248 247 waitfor-upp$(EXEEXT): 249 @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc248 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc 250 249 251 250 waitfor-cfa1$(EXEEXT): 252 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.cfa251 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.cfa 253 252 254 253 waitfor-cfa2$(EXEEXT): 255 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.cfa254 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.cfa 256 255 257 256 waitfor-cfa4$(EXEEXT): 258 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.cfa257 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.cfa 259 258 260 259 ## ========================================================================================================= … … 270 269 271 270 creation-cfa_coroutine$(EXEEXT): 272 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa271 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa 273 272 274 273 creation-cfa_coroutine_eager$(EXEEXT): 275 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa-DEAGER274 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa -DEAGER 276 275 277 276 creation-cfa_thread$(EXEEXT): 278 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa277 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa 279 278 280 279 creation-upp_coroutine$(EXEEXT): 281 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc280 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc 282 281 283 282 creation-upp_thread$(EXEEXT): 284 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc283 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc 285 284 286 285 creation-pthread$(EXEEXT): 287 @$(COMPILE) -DBENCH_N=250000 $(srcdir)/creation/pthreads.c286 $(AM_V_CC)$(COMPILE) -DBENCH_N=250000 $(srcdir)/creation/pthreads.c 288 287 289 288 creation-goroutine$(EXEEXT): 290 @go build -o a.out $(srcdir)/creation/goroutine.go289 $(AM_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go 291 290 292 291 creation-java_thread$(EXEEXT): 293 @javac -d .$(srcdir)/creation/JavaThread.java292 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java 294 293 @echo "#!/bin/sh" > a.out 295 294 @echo "java JavaThread" >> a.out … … 312 311 313 312 compile-array$(EXEEXT): 314 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa313 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa 315 314 316 315 compile-attributes$(EXEEXT): 317 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa316 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa 318 317 319 318 compile-empty$(EXEEXT): 320 @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa319 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa 321 320 322 321 compile-expression$(EXEEXT): 323 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa322 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa 324 323 325 324 compile-io$(EXEEXT): 326 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa325 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa 327 326 328 327 compile-monitor$(EXEEXT): 329 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa328 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa 330 329 331 330 compile-operators$(EXEEXT): 332 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa331 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa 333 332 334 333 compile-thread$(EXEEXT): 335 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa334 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa 336 335 337 336 compile-typeof$(EXEEXT): 338 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa339 337 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa 338 -
benchmark/Makefile.in
r5e49e47 rd0c91a6 17 17 ######################## -*- Mode: Makefile-Automake -*- ###################### 18 18 ############################################################################### 19 20 19 VPATH = @srcdir@ 21 20 am__is_gnu_make = { \ … … 93 92 host_triplet = @host@ 94 93 EXTRA_PROGRAMS = dummy$(EXEEXT) 95 noinst_PROGRAMS =96 94 @WITH_LIBFIBRE_TRUE@am__append_1 = \ 97 95 @WITH_LIBFIBRE_TRUE@ ctxswitch-kos_fibre.run \ … … 100 98 subdir = benchmark 101 99 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 102 am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \ 103 $(top_srcdir)/configure.ac 100 am__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 104 106 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 105 107 $(ACLOCAL_M4) … … 109 111 CONFIG_CLEAN_FILES = 110 112 CONFIG_CLEAN_VPATH_FILES = 111 PROGRAMS = $(noinst_PROGRAMS)112 113 am_dummy_OBJECTS = dummyC.$(OBJEXT) dummyCXX.$(OBJEXT) 113 114 dummy_OBJECTS = $(am_dummy_OBJECTS) 114 115 dummy_LDADD = $(LDADD) 116 AM_V_lt = $(am__v_lt_@AM_V@) 117 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) 118 am__v_lt_0 = --silent 119 am__v_lt_1 = 115 120 AM_V_P = $(am__v_P_@AM_V@) 116 121 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) … … 131 136 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 132 137 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 138 LTCOMPILE = $(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) 133 142 AM_V_CC = $(am__v_CC_@AM_V@) 134 143 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) … … 136 145 am__v_CC_1 = 137 146 CCLD = $(CC) 138 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 147 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 148 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 149 $(AM_LDFLAGS) $(LDFLAGS) -o $@ 139 150 AM_V_CCLD = $(am__v_CCLD_@AM_V@) 140 151 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) … … 143 154 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 144 155 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 156 LTCXXCOMPILE = $(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) 145 160 AM_V_CXX = $(am__v_CXX_@AM_V@) 146 161 am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) … … 148 163 am__v_CXX_1 = 149 164 CXXLD = $(CXX) 150 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 151 -o $@ 165 CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ 166 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ 167 $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 152 168 AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) 153 169 am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) … … 187 203 AMTAR = @AMTAR@ 188 204 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 205 AR = @AR@ 189 206 AUTOCONF = @AUTOCONF@ 190 207 AUTOHEADER = @AUTOHEADER@ 191 208 AUTOMAKE = @AUTOMAKE@ 192 209 AWK = @AWK@ 193 BACKEND_CC = @BACKEND_CC@194 210 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 195 211 CC = @CC@ … … 211 227 CPPFLAGS = @CPPFLAGS@ 212 228 CXX = @CXX@ 229 CXXCPP = @CXXCPP@ 213 230 CXXDEPMODE = @CXXDEPMODE@ 214 231 CXXFLAGS = @CXXFLAGS@ … … 216 233 DEFS = @DEFS@ 217 234 DEPDIR = @DEPDIR@ 235 DLLTOOL = @DLLTOOL@ 218 236 DRIVER_DIR = @DRIVER_DIR@ 237 DSYMUTIL = @DSYMUTIL@ 238 DUMPBIN = @DUMPBIN@ 219 239 ECHO_C = @ECHO_C@ 220 240 ECHO_N = @ECHO_N@ … … 222 242 EGREP = @EGREP@ 223 243 EXEEXT = @EXEEXT@ 244 FGREP = @FGREP@ 224 245 GREP = @GREP@ 225 246 HOST_FLAGS = @HOST_FLAGS@ … … 229 250 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 230 251 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 252 LD = @LD@ 231 253 LDFLAGS = @LDFLAGS@ 232 254 LEX = @LEX@ … … 237 259 LIBOBJS = @LIBOBJS@ 238 260 LIBS = @LIBS@ 261 LIBTOOL = @LIBTOOL@ 262 LIPO = @LIPO@ 263 LN_S = @LN_S@ 239 264 LTLIBOBJS = @LTLIBOBJS@ 265 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 240 266 MAKEINFO = @MAKEINFO@ 267 MANIFEST_TOOL = @MANIFEST_TOOL@ 241 268 MKDIR_P = @MKDIR_P@ 269 NM = @NM@ 270 NMEDIT = @NMEDIT@ 271 OBJDUMP = @OBJDUMP@ 242 272 OBJEXT = @OBJEXT@ 273 OTOOL = @OTOOL@ 274 OTOOL64 = @OTOOL64@ 243 275 PACKAGE = @PACKAGE@ 244 276 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ … … 250 282 PATH_SEPARATOR = @PATH_SEPARATOR@ 251 283 RANLIB = @RANLIB@ 284 SED = @SED@ 252 285 SET_MAKE = @SET_MAKE@ 253 286 SHELL = @SHELL@ … … 261 294 abs_top_builddir = @abs_top_builddir@ 262 295 abs_top_srcdir = @abs_top_srcdir@ 296 ac_ct_AR = @ac_ct_AR@ 263 297 ac_ct_CC = @ac_ct_CC@ 264 298 ac_ct_CXX = @ac_ct_CXX@ 299 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 265 300 am__include = @am__include@ 266 301 am__leading_dot = @am__leading_dot@ … … 310 345 top_srcdir = @top_srcdir@ 311 346 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 347 ACLOCAL_AMFLAGS = -I automake 312 348 CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS) 313 349 LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ … … 320 356 am__v_CFA_0 = @echo " CFA " $@; 321 357 am__v_CFA_1 = 322 323 # applies to both programs 358 AM_V_JAVAC = $(am__v_JAVAC_@AM_V@) 359 am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@) 360 am__v_JAVAC_0 = @echo " JAVAC " $@; 361 am__v_JAVAC_1 = 362 AM_V_GOC = $(am__v_GOC_@AM_V@) 363 am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@) 364 am__v_GOC_0 = @echo " GOC " $@; 365 am__v_GOC_1 = 324 366 UPPCC = u++ 325 367 UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS) 368 AM_V_UPP = $(am__v_UPP_@AM_V@) 369 am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@) 370 am__v_UPP_0 = @echo " UPP " $@; 371 am__v_UPP_1 = 372 373 # applies to both programs 326 374 AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread 327 375 AM_CFAFLAGS = -quiet -in-tree -nodebug … … 377 425 $(am__aclocal_m4_deps): 378 426 379 clean-noinstPROGRAMS:380 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)381 382 427 dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) $(EXTRA_dummy_DEPENDENCIES) 383 428 @rm -f dummy$(EXEEXT) … … 409 454 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 410 455 456 .c.lo: 457 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ 458 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 459 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo 460 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 461 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 462 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< 463 411 464 .cpp.o: 412 465 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ … … 424 477 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 425 478 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 479 480 .cpp.lo: 481 @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ 482 @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 483 @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo 484 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ 485 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 486 @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< 487 488 mostlyclean-libtool: 489 -rm -f *.lo 490 491 clean-libtool: 492 -rm -rf .libs _libs 426 493 427 494 ID: $(am__tagged_files) … … 509 576 check-am: all-am 510 577 check: check-am 511 all-am: Makefile $(PROGRAMS)578 all-am: Makefile 512 579 installdirs: 513 580 install: install-am … … 543 610 clean: clean-am 544 611 545 clean-am: clean-generic clean- noinstPROGRAMSmostlyclean-am612 clean-am: clean-generic clean-libtool mostlyclean-am 546 613 547 614 distclean: distclean-am … … 598 665 mostlyclean: mostlyclean-am 599 666 600 mostlyclean-am: mostlyclean-compile mostlyclean-generic 667 mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 668 mostlyclean-libtool 601 669 602 670 pdf: pdf-am … … 613 681 614 682 .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ 615 clean- noinstPROGRAMScscopelist-am ctags ctags-am distclean \616 distclean-compile distclean-generic distclean- tags distdir dvi\617 d vi-am html html-am info info-am install install-am \618 install -data install-data-am install-dvi install-dvi-am\619 install- exec install-exec-am install-html install-html-am\620 install- info install-info-am install-man install-pdf\621 install-pdf -am install-ps install-ps-am install-strip\622 install check installcheck-am installdirs maintainer-clean\623 maintainer-clean -generic mostlyclean mostlyclean-compile\624 mostlyclean- generic pdf pdf-am ps ps-am tags tags-am uninstall \625 uninstall-am683 clean-libtool cscopelist-am ctags ctags-am distclean \ 684 distclean-compile distclean-generic distclean-libtool \ 685 distclean-tags distdir dvi dvi-am html html-am info info-am \ 686 install install-am install-data install-data-am install-dvi \ 687 install-dvi-am install-exec install-exec-am install-html \ 688 install-html-am install-info install-info-am install-man \ 689 install-pdf install-pdf-am install-ps install-ps-am \ 690 install-strip installcheck installcheck-am installdirs \ 691 maintainer-clean maintainer-clean-generic mostlyclean \ 692 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ 693 pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am 626 694 627 695 .PRECIOUS: Makefile … … 655 723 @${STATS} .result.log 656 724 @echo "------------------------------------------------------" 657 @rm -f a.out .result.log 725 @rm -f a.out .result.log *.class 658 726 659 727 %.runquiet : … … 705 773 706 774 loop$(EXEEXT): 707 $( COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c775 $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c 708 776 709 777 function$(EXEEXT): 710 $( COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c778 $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c 711 779 712 780 fetch_add$(EXEEXT): 713 $( COMPILE) -DBENCH_N=500000000 $(srcdir)/fetch_add.c781 $(AM_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/fetch_add.c 714 782 715 783 @WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT): 716 @WITH_LIBFIBRE_TRUE@ @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp -I$(LIBFIBRE_DIR) -lfibre784 @WITH_LIBFIBRE_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp -I$(LIBFIBRE_DIR) -lfibre 717 785 718 786 @WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre2$(EXEEXT): 719 @WITH_LIBFIBRE_TRUE@ @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre787 @WITH_LIBFIBRE_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre 720 788 721 789 ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND) 722 790 723 791 ctxswitch-pthread$(EXEEXT): 724 @$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c792 $(AM_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c 725 793 726 794 ctxswitch-cfa_coroutine$(EXEEXT): 727 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa795 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa 728 796 729 797 ctxswitch-cfa_thread$(EXEEXT): 730 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa798 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa 731 799 732 800 ctxswitch-cfa_thread2$(EXEEXT): 733 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa801 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa 734 802 735 803 ctxswitch-upp_coroutine$(EXEEXT): 736 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc804 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc 737 805 738 806 ctxswitch-upp_thread$(EXEEXT): 739 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc807 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc 740 808 741 809 ctxswitch-goroutine$(EXEEXT): 742 @go build -o a.out $(srcdir)/ctxswitch/goroutine.go810 $(AM_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go 743 811 744 812 ctxswitch-java_thread$(EXEEXT): 745 @javac -d .$(srcdir)/ctxswitch/JavaThread.java813 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java 746 814 @echo "#!/bin/sh" > a.out 747 815 @echo "java JavaThread" >> a.out … … 760 828 761 829 mutex-pthread_lock$(EXEEXT): 762 @$(COMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c830 $(AM_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c 763 831 764 832 mutex-upp$(EXEEXT): 765 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc833 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc 766 834 767 835 mutex-cfa1$(EXEEXT): 768 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.cfa836 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.cfa 769 837 770 838 mutex-cfa2$(EXEEXT): 771 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.cfa839 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.cfa 772 840 773 841 mutex-cfa4$(EXEEXT): 774 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.cfa842 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.cfa 775 843 776 844 mutex-java_thread$(EXEEXT): 777 @javac -d .$(srcdir)/mutex/JavaThread.java845 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java 778 846 @echo "#!/bin/sh" > a.out 779 847 @echo "java JavaThread" >> a.out … … 789 857 790 858 signal-pthread_cond$(EXEEXT): 791 @$(COMPILE) -DBENCH_N=500000 $(srcdir)/schedint/pthreads.c859 $(AM_V_CC)$(COMPILE) -DBENCH_N=500000 $(srcdir)/schedint/pthreads.c 792 860 793 861 signal-upp$(EXEEXT): 794 @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc862 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc 795 863 796 864 signal-cfa1$(EXEEXT): 797 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.cfa865 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.cfa 798 866 799 867 signal-cfa2$(EXEEXT): 800 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.cfa868 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.cfa 801 869 802 870 signal-cfa4$(EXEEXT): 803 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.cfa871 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.cfa 804 872 805 873 signal-java_thread$(EXEEXT): 806 @javac -d .$(srcdir)/schedint/JavaThread.java874 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java 807 875 @echo "#!/bin/sh" > a.out 808 876 @echo "java JavaThread" >> a.out … … 816 884 817 885 waitfor-upp$(EXEEXT): 818 @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc886 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc 819 887 820 888 waitfor-cfa1$(EXEEXT): 821 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.cfa889 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.cfa 822 890 823 891 waitfor-cfa2$(EXEEXT): 824 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.cfa892 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.cfa 825 893 826 894 waitfor-cfa4$(EXEEXT): 827 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.cfa895 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.cfa 828 896 829 897 creation$(EXEEXT) :\ … … 838 906 839 907 creation-cfa_coroutine$(EXEEXT): 840 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa908 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa 841 909 842 910 creation-cfa_coroutine_eager$(EXEEXT): 843 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa-DEAGER911 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa -DEAGER 844 912 845 913 creation-cfa_thread$(EXEEXT): 846 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa914 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa 847 915 848 916 creation-upp_coroutine$(EXEEXT): 849 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc917 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc 850 918 851 919 creation-upp_thread$(EXEEXT): 852 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc920 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc 853 921 854 922 creation-pthread$(EXEEXT): 855 @$(COMPILE) -DBENCH_N=250000 $(srcdir)/creation/pthreads.c923 $(AM_V_CC)$(COMPILE) -DBENCH_N=250000 $(srcdir)/creation/pthreads.c 856 924 857 925 creation-goroutine$(EXEEXT): 858 @go build -o a.out $(srcdir)/creation/goroutine.go926 $(AM_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go 859 927 860 928 creation-java_thread$(EXEEXT): 861 @javac -d .$(srcdir)/creation/JavaThread.java929 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java 862 930 @echo "#!/bin/sh" > a.out 863 931 @echo "java JavaThread" >> a.out … … 875 943 876 944 compile-array$(EXEEXT): 877 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa945 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa 878 946 879 947 compile-attributes$(EXEEXT): 880 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa948 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa 881 949 882 950 compile-empty$(EXEEXT): 883 @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa951 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa 884 952 885 953 compile-expression$(EXEEXT): 886 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa954 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa 887 955 888 956 compile-io$(EXEEXT): 889 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa957 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa 890 958 891 959 compile-monitor$(EXEEXT): 892 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa960 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa 893 961 894 962 compile-operators$(EXEEXT): 895 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa963 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa 896 964 897 965 compile-thread$(EXEEXT): 898 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa966 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa 899 967 900 968 compile-typeof$(EXEEXT): 901 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa969 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa 902 970 903 971 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
benchmark/Monitor.c
r5e49e47 rd0c91a6 29 29 EndTime = Time(); 30 30 31 sout | ( EndTime - StartTime ) / N | endl;31 sout | ( EndTime - StartTime ) / N; 32 32 }
Note: See TracChangeset
for help on using the changeset viewer.