Changeset a3769cc for benchmark/readyQ/yield.rs
- Timestamp:
- Sep 14, 2021, 10:21:11 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- b8454c6
- Parents:
- 347925c (diff), ebb6158 (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/yield.rs
r347925c ra3769cc 44 44 let nprocs = options.value_of("nprocs").unwrap().parse::<usize>().unwrap(); 45 45 46 let exp = Arc::new(bench::BenchData::new(options, nthreads ));46 let exp = Arc::new(bench::BenchData::new(options, nthreads, None)); 47 47 48 48 let s = (1000000 as u64).to_formatted_string(&Locale::en); … … 50 50 51 51 let thddata : Arc<Vec<Arc<Yielder>>> = Arc::new( 52 (0..nthreads).map(|i| { 53 let pi = (i + nthreads) % nthreads; 52 (0..nthreads).map(|_i| { 54 53 Arc::new(Yielder{ 55 54 sem: sync::Semaphore::new(0),
Note: See TracChangeset
for help on using the changeset viewer.