Changes in benchmark/readyQ/cycle.cpp [1f950c3b:3b80db8]
- File:
-
- 1 edited
-
benchmark/readyQ/cycle.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/readyQ/cycle.cpp
r1f950c3b r3b80db8 39 39 { 40 40 threads_left = tthreads; 41 Fibre * * threads = new Fibre *[tthreads]();42 Partner * thddata = new Partner[tthreads]();41 Fibre * threads[tthreads]; 42 Partner thddata[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);74 71 } 75 72
Note:
See TracChangeset
for help on using the changeset viewer.