Ignore:
Timestamp:
Jun 19, 2020, 11:22:32 AM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
64a7146
Parents:
37ba662
Message:

Added BIAS option to ready_queue
Added yield test for LibFibre?
Fixed some alignments and minor optimizations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/yield.cfa

    r37ba662 r04b5cef  
    2222volatile unsigned long long global_counter;
    2323
    24 thread __attribute__((aligned(64))) Yielder {
     24thread __attribute__((aligned(128))) Yielder {
    2525        unsigned long long counter;
    2626};
     
    113113                        {
    114114                                Yielder threads[nthreads];
     115                                bool is_tty = isatty(STDOUT_FILENO);
    115116                                printf("Starting\n");
    116117                                start = getTime();
    117118                                run = true;
    118119
    119                                 bool is_tty = isatty(STDOUT_FILENO);
    120120                                for(i; nthreads) {
    121121                                        unpark( threads[i] __cfaabi_dbg_ctx2 );
Note: See TracChangeset for help on using the changeset viewer.