Changes in / [6b93634:91131689]


Ignore:
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r6b93634 r91131689  
    113113creation_cfa_generator_DURATION = 1000000000
    114114creation_upp_coroutine_DURATION = ${creation_cfa_coroutine_eager_DURATION}
     115creation_cfa_thread_DURATION = 10000000
     116creation_upp_thread_DURATION = ${creation_cfa_thread_DURATION}
    115117creation_DURATION = 10000000
    116118
     
    289291ctxswitch-python_coroutine$(EXEEXT):
    290292        $(BENCH_V_PY)echo "#!/bin/sh" > a.out
    291         echo "python3 $(srcdir)/ctxswitch/python_cor.py \"$$""@\"" >> a.out
     293        echo "python3.7 $(srcdir)/ctxswitch/python_cor.py" >> a.out
    292294        chmod a+x a.out
    293295
    294296ctxswitch-nodejs_coroutine$(EXEEXT):
    295297        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
    296         echo "nodejs $(srcdir)/ctxswitch/node_cor.js \"$$""@\"" >> a.out
     298        echo "nodejs $(srcdir)/ctxswitch/node_cor.js" >> a.out
    297299        chmod a+x a.out
    298300
    299301ctxswitch-nodejs_await$(EXEEXT):
    300302        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
    301         echo "nodejs $(srcdir)/ctxswitch/node_await.js \"$$""@\"" >> a.out
     303        echo "nodejs $(srcdir)/ctxswitch/node_await.js" >> a.out
    302304        chmod a+x a.out
    303305
     
    311313        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
    312314        echo "#!/bin/sh" > a.out
    313         echo "java JavaThread \"$$""@\"" >> a.out
     315        echo "java JavaThread" >> a.out
    314316        chmod a+x a.out
    315317
     
    353355        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
    354356        echo "#!/bin/sh" > a.out
    355         echo "java JavaThread \"$$""@\"" >> a.out
     357        echo "java JavaThread" >> a.out
    356358        chmod a+x a.out
    357359
     
    385387        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    386388        echo "#!/bin/sh" > a.out
    387         echo "java JavaThread \"$$""@\"" >> a.out
     389        echo "java JavaThread" >> a.out
    388390        chmod a+x a.out
    389391
     
    452454creation-python_coroutine$(EXEEXT):
    453455        $(BENCH_V_PY)echo "#!/bin/sh" > a.out
    454         echo "python3 $(srcdir)/creation/python_cor.py \"$$""@\"" >> a.out
     456        echo "python3.7 $(srcdir)/creation/python_cor.py" >> a.out
    455457        chmod a+x a.out
    456458
    457459creation-nodejs_coroutine$(EXEEXT):
    458460        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
    459         echo "nodejs $(srcdir)/creation/node_cor.js \"$$""@\"" >> a.out
     461        echo "nodejs $(srcdir)/creation/node_cor.js" >> a.out
    460462        chmod a+x a.out
    461463
     
    469471        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    470472        echo "#!/bin/sh" > a.out
    471         echo "java JavaThread \"$$""@\"" >> a.out
     473        echo "java JavaThread" >> a.out
    472474        chmod a+x a.out
    473475
  • benchmark/creation/JavaThread.java

    r6b93634 r91131689  
    4747        }
    4848        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]); }
    5151
    5252                for (int i = Integer.parseInt("5"); --i >= 0 ; ) {
  • benchmark/ctxswitch/JavaThread.java

    r6b93634 r91131689  
    4040        }
    4141        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]); }
    4444
    4545                for (int i = Integer.parseInt("5"); --i >= 0 ; ) {
  • benchmark/mutex/JavaThread.java

    r6b93634 r91131689  
    4747        }
    4848        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]); }
    5151
    5252                for (int n = Integer.parseInt("5"); --n >= 0 ; ) {
  • benchmark/schedint/JavaThread.java

    r6b93634 r91131689  
    7575        }
    7676        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]); }
    7979
    8080                for (int n = Integer.parseInt("5"); --n >= 0 ; ) {
  • libcfa/src/concurrency/io/setup.cfa

    r6b93634 r91131689  
    266266
    267267                                // unpark the fast io_poller
    268                                 unpark( &thrd );
     268                                unpark( &thrd __cfaabi_dbg_ctx2 );
    269269                        }
    270270                        else {
     
    275275                        }
    276276                } else {
    277                         unpark( &thrd );
     277                        unpark( &thrd __cfaabi_dbg_ctx2 );
    278278                }
    279279
Note: See TracChangeset for help on using the changeset viewer.