Changeset def751f for benchmark/readyQ/cycle.cpp
- Timestamp:
- Jul 25, 2022, 3:17:25 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- b0d9ff7
- Parents:
- 4e2befe3 (diff), ffec1bf (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
-
benchmark/readyQ/cycle.cpp
r4e2befe3 rdef751f 39 39 { 40 40 threads_left = tthreads; 41 Fibre * threads[tthreads];42 Partner thddata[tthreads];41 Fibre ** threads = new Fibre *[tthreads](); 42 Partner* thddata = new Partner[tthreads](); 43 43 for(unsigned i = 0; i < tthreads; i++) { 44 44 unsigned pi = (i + nthreads) % tthreads; … … 69 69 global_blocks += thddata[i].blocks; 70 70 } 71 72 delete[](threads); 73 delete[](thddata); 71 74 } 72 75
Note:
See TracChangeset
for help on using the changeset viewer.