Changeset 27434e9 for libcfa/src/concurrency/ready_queue.cfa
- Timestamp:
- Jun 23, 2021, 5:19:38 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b6f39aa
- Parents:
- 2b910f9 (diff), 1d71208 (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
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/ready_queue.cfa
r2b910f9 r27434e9 20 20 21 21 22 //#define USE_RELAXED_FIFO22 #define USE_RELAXED_FIFO 23 23 // #define USE_WORK_STEALING 24 #define USE_CPU_WORK_STEALING24 // #define USE_CPU_WORK_STEALING 25 25 26 26 #include "bits/defs.hfa" … … 760 760 for(i; lanes.count) { 761 761 unsigned long long tsc1 = ts(lanes.data[i]); 762 unsigned long long tsc2 = rdtscl() 762 unsigned long long tsc2 = rdtscl(); 763 763 lanes.tscs[i].tv = min(tsc1, tsc2); 764 764 }
Note: See TracChangeset
for help on using the changeset viewer.