Searched refs:NUM_SUBMITTERS (Results 1 – 1 of 1) sorted by relevance
1430 const NUM_SUBMITTERS: usize = 7; in multi_thread_submit_and_complete() constant1446 let mut threads = Vec::with_capacity(NUM_SUBMITTERS + NUM_COMPLETERS); in multi_thread_submit_and_complete()1447 for idx in 0..NUM_SUBMITTERS { in multi_thread_submit_and_complete()1454 match uring.add_nop(((idx * NUM_SUBMITTERS) + iter) as UserData) { in multi_thread_submit_and_complete()1483 while completed.load(Ordering::Relaxed) < NUM_SUBMITTERS * ITERATIONS { in multi_thread_submit_and_complete()1497 if completed.load(Ordering::Relaxed) >= NUM_SUBMITTERS * ITERATIONS { in multi_thread_submit_and_complete()1505 for t in threads.drain(..NUM_SUBMITTERS) { in multi_thread_submit_and_complete()1513 .add_nop((NUM_SUBMITTERS * ITERATIONS + i) as UserData) in multi_thread_submit_and_complete()1532 (NUM_SUBMITTERS * ITERATIONS + NUM_COMPLETERS) as u64 in multi_thread_submit_and_complete()