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