Changeset 986dd36 for doc/papers/general/evaluation/cfa-bench.c
- Timestamp:
- Mar 2, 2018, 5:34:51 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, 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, pthread-emulation, qualifiedEnum, 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/papers/general/evaluation/cfa-bench.c
r244b934 r986dd36 10 10 stack(int) si, ti; 11 11 12 REPEAT_TIMED( "push_int", N, push( &si, vali ); )12 REPEAT_TIMED( "push_int", N, push( si, vali ); ) 13 13 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 ); 17 17 if ( xi > maxi ) { maxi = xi; } ) 18 18 REPEAT_TIMED( "print_int", N/2, print( out, vali, ":", vali, "\n" ); ) … … 21 21 stack(pair(_Bool, char)) sp, tp; 22 22 23 REPEAT_TIMED( "push_pair", N, push( &sp, valp ); )23 REPEAT_TIMED( "push_pair", N, push( sp, valp ); ) 24 24 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 ); 28 28 if ( xp > maxp ) { maxp = xp; } ) 29 29 REPEAT_TIMED( "print_pair", N/2, print( out, valp, ":", valp, "\n" ); )
Note: See TracChangeset
for help on using the changeset viewer.