Ignore:
Timestamp:
Mar 2, 2018, 5:34:51 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
dd05e12
Parents:
244b934
git-author:
Rob Schluntz <rschlunt@…> (03/02/18 09:47:18)
git-committer:
Rob Schluntz <rschlunt@…> (03/02/18 17:34:51)
Message:

Update CFA evaluation code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/evaluation/cfa-bench.c

    r244b934 r986dd36  
    1010        stack(int) si, ti;
    1111
    12         REPEAT_TIMED( "push_int", N, push( &si, vali ); )
     12        REPEAT_TIMED( "push_int", N, push( si, vali ); )
    1313        TIMED( "copy_int", ti = si; )
    14         TIMED( "clear_int", clear( &si ); )
    15         REPEAT_TIMED( "pop_int", N, 
    16                 int xi = pop( &ti );
     14        TIMED( "clear_int", clear( si ); )
     15        REPEAT_TIMED( "pop_int", N,
     16                int xi = pop( ti );
    1717                if ( xi > maxi ) { maxi = xi; } )
    1818        REPEAT_TIMED( "print_int", N/2, print( out, vali, ":", vali, "\n" ); )
     
    2121        stack(pair(_Bool, char)) sp, tp;
    2222
    23         REPEAT_TIMED( "push_pair", N, push( &sp, valp ); )
     23        REPEAT_TIMED( "push_pair", N, push( sp, valp ); )
    2424        TIMED( "copy_pair", tp = sp; )
    25         TIMED( "clear_pair", clear( &sp ); )
    26         REPEAT_TIMED( "pop_pair", N, 
    27                 pair(_Bool, char) xp = pop( &tp );
     25        TIMED( "clear_pair", clear( sp ); )
     26        REPEAT_TIMED( "pop_pair", N,
     27                pair(_Bool, char) xp = pop( tp );
    2828                if ( xp > maxp ) { maxp = xp; } )
    2929        REPEAT_TIMED( "print_pair", N/2, print( out, valp, ":", valp, "\n" ); )
Note: See TracChangeset for help on using the changeset viewer.