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/fetch_add.c

    r846c026 rb4107c8  
    1111}
    1212
    13 int main(int argc, char* argv[]) {
     13int main( int argc, char * argv[] ) {
     14        BENCH_START()
    1415        BENCH(
    15                 for (size_t i = 0; i < n; i++) {
     16                for (size_t i = 0; i < times; i++) {
    1617                        do_call();
    1718                },
    1819                result
    1920        )
     21        printf( "%g\n", result );
     22}
    2023
    21         printf("%g\n", result);
    22 }
     24// Local Variables: //
     25// tab-width: 4 //
     26// End: //
Note: See TracChangeset for help on using the changeset viewer.