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/mutex/cfa1.cfa

    r9e63a2b r2316525  
    44#include "bench.h"
    55
    6 monitor M {};
    7 void __attribute__((noinline)) call( M & mutex m ) {}
     6monitor M {} m1;
     7void __attribute__((noinline)) call( M & mutex p1 ) {}
    88
    99int main( int argc, char * argv[] ) {
    1010        BENCH_START()
    11         M m;
    1211        BENCH(
    13                 for ( i; times ) {
    14                         call( m );
     12                for ( times ) {
     13                        call( m1 );
    1514                },
    1615                result
Note: See TracChangeset for help on using the changeset viewer.