Ignore:
Timestamp:
Jan 7, 2020, 3:50:56 PM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation
Children:
580c11b
Parents:
846c026
Message:

update existing benchmarks for changes to bench.h, add new benchmarks in new programming languages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/mutex/cfa2.cfa

    r846c026 rb4107c8  
    77void __attribute__((noinline)) call( M & mutex m1, M & mutex m2 ) {}
    88
    9 int main(int argc, char* argv[]) {
     9int main( int argc, char * argv[] ) {
     10        BENCH_START()
    1011        M m1, m2;
    1112        BENCH(
    12                 for ( i; n ) {
    13                         call(m1, m2);
     13                for ( i; times ) {
     14                        call( m1, m2 );
    1415                },
    1516                result
    1617        )
     18        printf( "%g\n", result );
     19}
    1720
    18         printf("%g\n", result);
    19 }
     21// Local Variables: //
     22// tab-width: 4 //
     23// End: //
Note: See TracChangeset for help on using the changeset viewer.