Changeset 69e398f for benchmark/creation/cfa_cor.cfa
- Timestamp:
- Jan 22, 2020, 10:07:35 PM (5 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:
- 8b16980
- Parents:
- 9d6317f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/creation/cfa_cor.cfa
r9d6317f r69e398f 1 #include <stdio.h> 2 #include <coroutine.hfa> 3 1 4 #include "bench.h" 2 5 3 typedef struct { 4 void * next; 5 } C; 6 coroutine MyCoroutine {}; 7 void ?{}( MyCoroutine & this ) { 8 #ifdef EAGER 9 resume( this ); 10 #endif 11 } 12 void main( MyCoroutine & ) {} 6 13 7 14 int main( int argc, char * argv[] ) { … … 9 16 BENCH( 10 17 for ( times ) { 11 Cc;18 MyCoroutine c; 12 19 }, 13 20 result
Note: See TracChangeset
for help on using the changeset viewer.