Changeset 04b5cef for benchmark/readyQ/yield.cfa
- Timestamp:
- Jun 19, 2020, 11:22:32 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 64a7146
- Parents:
- 37ba662
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/yield.cfa
r37ba662 r04b5cef 22 22 volatile unsigned long long global_counter; 23 23 24 thread __attribute__((aligned( 64))) Yielder {24 thread __attribute__((aligned(128))) Yielder { 25 25 unsigned long long counter; 26 26 }; … … 113 113 { 114 114 Yielder threads[nthreads]; 115 bool is_tty = isatty(STDOUT_FILENO); 115 116 printf("Starting\n"); 116 117 start = getTime(); 117 118 run = true; 118 119 119 bool is_tty = isatty(STDOUT_FILENO);120 120 for(i; nthreads) { 121 121 unpark( threads[i] __cfaabi_dbg_ctx2 );
Note: See TracChangeset
for help on using the changeset viewer.