Lines Matching refs:tasks
42 std::vector<sp<TrivialTask> > tasks;
43 tasks.reserve(state.max_iterations);
46 tasks.emplace_back(new TrivialTask);
47 benchmark::DoNotOptimize(tasks.back());
55 std::vector<sp<TrivialTask> > tasks;
56 tasks.reserve(state.max_iterations);
59 tasks.emplace_back(new TrivialTask);
60 benchmark::DoNotOptimize(tasks.back());
61 processor->add(tasks.back());
64 for (sp<TrivialTask>& task : tasks) {
73 std::vector<sp<TrivialTask> > tasks;
74 tasks.reserve(state.max_iterations);
77 tasks.emplace_back(new TrivialTask);
78 benchmark::DoNotOptimize(tasks.back());
79 processor->add(tasks.back());
82 for (sp<TrivialTask>& task : tasks) {
85 tasks.clear();