Changeset b067d9b for benchmark/ctxswitch/cfa_cor.cfa
- Timestamp:
- Oct 29, 2019, 4:01:24 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 773db65, 9421f3d8
- Parents:
- 7951100 (diff), 8364209 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
benchmark/ctxswitch/cfa_cor.cfa (moved) (moved from src/benchmark/ctxswitch/cfa_cor.c ) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/ctxswitch/cfa_cor.cfa
r7951100 rb067d9b 1 #include <stdio.h> 2 #include <kernel> 3 #include <thread> 1 #include <kernel.hfa> 2 #include <thread.hfa> 4 3 5 4 #include "bench.h" … … 11 10 } 12 11 13 void main( GreatSuspender & this ) {12 void main( __attribute__((unused)) GreatSuspender & this ) { 14 13 while( true ) { 15 14 suspend(); … … 21 20 22 21 BENCH( 23 for ( size_t i = 0; i < n; i++) {22 for ( i; n ) { 24 23 resume( s ); 25 24 }, … … 27 26 ) 28 27 29 printf("% llu\n", result);28 printf("%g\n", result); 30 29 }
Note:
See TracChangeset
for help on using the changeset viewer.