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 moved

Legend:

Unmodified
Added
Removed
  • benchmark/basic/tls_fetch_add.c

    r846c026 rb4107c8  
    1616}
    1717
    18 int main(int argc, char* argv[]) {
     18int main( int argc, char * argv[] ) {
     19        BENCH_START()
    1920        BENCH(
    20                 for (size_t i = 0; i < n; i++) {
     21                for (size_t i = 0; i < times; i++) {
    2122                        do_call();
    2223                },
    2324                result
    2425        )
     26        printf( "%g\n", result );
     27}
    2528
    26         printf("%g\n", result);
    27 }
     29// Local Variables: //
     30// tab-width: 4 //
     31// End: //
Note: See TracChangeset for help on using the changeset viewer.