Changeset 54dd994 for benchmark/ctxswitch/cfa_thrd2.cfa
- Timestamp:
- Jun 24, 2019, 10:30:47 AM (7 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:
- 84917e2
- Parents:
- 3c6e417 (diff), 9e0a360 (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 edited
-
benchmark/ctxswitch/cfa_thrd2.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/ctxswitch/cfa_thrd2.cfa
r3c6e417 r54dd994 1 #include <stdio.h>2 1 #include <thread.hfa> 3 2 … … 17 16 Fibre f1; 18 17 BENCH( 19 for ( size_t i = 0; i < n; i++) {18 for ( i; n ) { 20 19 yield(); 21 20 }, … … 23 22 ) 24 23 25 printf("% llu\n", result);24 printf("%g\n", result); 26 25 done = true; 27 26 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.