Changes in / [91131689:6b93634]
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.am
r91131689 r6b93634 113 113 creation_cfa_generator_DURATION = 1000000000 114 114 creation_upp_coroutine_DURATION = ${creation_cfa_coroutine_eager_DURATION} 115 creation_cfa_thread_DURATION = 10000000116 creation_upp_thread_DURATION = ${creation_cfa_thread_DURATION}117 115 creation_DURATION = 10000000 118 116 … … 291 289 ctxswitch-python_coroutine$(EXEEXT): 292 290 $(BENCH_V_PY)echo "#!/bin/sh" > a.out 293 echo "python3 .7 $(srcdir)/ctxswitch/python_cor.py" >> a.out291 echo "python3 $(srcdir)/ctxswitch/python_cor.py \"$$""@\"" >> a.out 294 292 chmod a+x a.out 295 293 296 294 ctxswitch-nodejs_coroutine$(EXEEXT): 297 295 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 298 echo "nodejs $(srcdir)/ctxswitch/node_cor.js " >> a.out296 echo "nodejs $(srcdir)/ctxswitch/node_cor.js \"$$""@\"" >> a.out 299 297 chmod a+x a.out 300 298 301 299 ctxswitch-nodejs_await$(EXEEXT): 302 300 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 303 echo "nodejs $(srcdir)/ctxswitch/node_await.js " >> a.out301 echo "nodejs $(srcdir)/ctxswitch/node_await.js \"$$""@\"" >> a.out 304 302 chmod a+x a.out 305 303 … … 313 311 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java 314 312 echo "#!/bin/sh" > a.out 315 echo "java JavaThread " >> a.out313 echo "java JavaThread \"$$""@\"" >> a.out 316 314 chmod a+x a.out 317 315 … … 355 353 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java 356 354 echo "#!/bin/sh" > a.out 357 echo "java JavaThread " >> a.out355 echo "java JavaThread \"$$""@\"" >> a.out 358 356 chmod a+x a.out 359 357 … … 387 385 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java 388 386 echo "#!/bin/sh" > a.out 389 echo "java JavaThread " >> a.out387 echo "java JavaThread \"$$""@\"" >> a.out 390 388 chmod a+x a.out 391 389 … … 454 452 creation-python_coroutine$(EXEEXT): 455 453 $(BENCH_V_PY)echo "#!/bin/sh" > a.out 456 echo "python3 .7 $(srcdir)/creation/python_cor.py" >> a.out454 echo "python3 $(srcdir)/creation/python_cor.py \"$$""@\"" >> a.out 457 455 chmod a+x a.out 458 456 459 457 creation-nodejs_coroutine$(EXEEXT): 460 458 $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out 461 echo "nodejs $(srcdir)/creation/node_cor.js " >> a.out459 echo "nodejs $(srcdir)/creation/node_cor.js \"$$""@\"" >> a.out 462 460 chmod a+x a.out 463 461 … … 471 469 $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java 472 470 echo "#!/bin/sh" > a.out 473 echo "java JavaThread " >> a.out471 echo "java JavaThread \"$$""@\"" >> a.out 474 472 chmod a+x a.out 475 473 -
benchmark/creation/JavaThread.java
r91131689 r6b93634 47 47 } 48 48 public static void main(String[] args) throws InterruptedException { 49 if ( args.length > 2) System.exit( 1 );50 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }49 if ( args.length > 1 ) System.exit( 1 ); 50 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 51 51 52 52 for (int i = Integer.parseInt("5"); --i >= 0 ; ) { -
benchmark/ctxswitch/JavaThread.java
r91131689 r6b93634 40 40 } 41 41 public static void main(String[] args) throws InterruptedException { 42 if ( args.length > 2) System.exit( 1 );43 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }42 if ( args.length > 1 ) System.exit( 1 ); 43 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 44 44 45 45 for (int i = Integer.parseInt("5"); --i >= 0 ; ) { -
benchmark/mutex/JavaThread.java
r91131689 r6b93634 47 47 } 48 48 public static void main(String[] args) throws InterruptedException { 49 if ( args.length > 2) System.exit( 1 );50 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }49 if ( args.length > 1 ) System.exit( 1 ); 50 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 51 51 52 52 for (int n = Integer.parseInt("5"); --n >= 0 ; ) { -
benchmark/schedint/JavaThread.java
r91131689 r6b93634 75 75 } 76 76 public static void main(String[] args) throws InterruptedException { 77 if ( args.length > 2) System.exit( 1 );78 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }77 if ( args.length > 1 ) System.exit( 1 ); 78 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 79 79 80 80 for (int n = Integer.parseInt("5"); --n >= 0 ; ) { -
libcfa/src/concurrency/io/setup.cfa
r91131689 r6b93634 266 266 267 267 // unpark the fast io_poller 268 unpark( &thrd __cfaabi_dbg_ctx2);268 unpark( &thrd ); 269 269 } 270 270 else { … … 275 275 } 276 276 } else { 277 unpark( &thrd __cfaabi_dbg_ctx2);277 unpark( &thrd ); 278 278 } 279 279
Note: See TracChangeset
for help on using the changeset viewer.