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

    r846c026 rb4107c8  
    3535}
    3636
    37 int main(int argc, char* argv[]) {
     37int main( int argc, char * argv[] ) {
     38        BENCH_START()
    3839        BENCH(
    39                 for (size_t i = 0; i < n; i++) {
     40                for (size_t i = 0; i < times; i++) {
    4041                        do_call();
    4142                },
    4243                result
    43                 )
    44 
    45                 printf("%g\n", result);
     44        )
     45        printf( "%g\n", result );
    4646}
    4747
Note: See TracChangeset for help on using the changeset viewer.