Ignore:
Timestamp:
Jan 19, 2020, 4:16:27 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f090750
Parents:
9e63a2b
Message:

update benchmarks for concurrency paper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/schedext/upp.cc

    r9e63a2b r2316525  
    1111        int __attribute__((noinline)) wait() {
    1212                go = 1;
    13                 for (size_t i = 0; i < times; i++) {
     13                for ( size_t i = 0; i < times; i++ ) {
    1414                        _Accept(call);
    1515                }
     
    1717                return 0;
    1818        }
    19 };
    20 
    21 M m;
     19} m;
    2220
    2321_Task T {
    2422        void main() {
    25                 while(go == 0) { yield(); }
     23                while ( go == 0 ) { yield(); }
    2624                BENCH(
    27                         while(go == 1) { m.call(); },
     25                        while ( go == 1 ) { m.call(); },
    2826                        result
    2927                )
Note: See TracChangeset for help on using the changeset viewer.