Lines Matching refs:repeats
140 void submit_work( std::vector<arena_info>& arenas, unsigned repeats, utils::SpinBarrier& barrier ) { in submit_work() argument
148 [repeats, &barrier, &tg, priority_value, concurrency]() { in submit_work()
149 for( unsigned i = 0; i < repeats * concurrency; ++i ) { in submit_work()
263 const unsigned repeats = 10; in test() local
267 overall_tasks_num += std::get<arena_concurrency>(item) * repeats; in test()
274 submit_work( arenas, repeats, barrier ); in test()
291 … unsigned last_task_idx = std::min((repeats + 1) * unsigned(max_num_threads), overall_tasks_num); in test()
300 if( i < max_num_threads || i >= repeats * max_num_threads ) in test()
314 unsigned expected_tasks_num = repeats * concurrency; in test()
330 std::size_t lower_priority_start = (repeats + 1) * max_num_threads; in test()
348 auto per_arena_tasks_num = repeats * std::get<arena_concurrency>(*it); in test()