Searched refs:thread (Results 1 – 11 of 11) sorted by relevance
213 const auto& thread = options.threads()[t]; in CreateFromProtoInstruction() local214 for (int i = 0; i < thread.spawn(); i++) { in CreateFromProtoInstruction()218 thread_ids_copy, thread.instruction())); in CreateFromProtoInstruction()221 if (thread.has_name()) { in CreateFromProtoInstruction()222 thread_name = thread.name() + "_" + std::to_string(i); in CreateFromProtoInstruction()228 if (thread.has_sched_attr()) { in CreateFromProtoInstruction()229 sched_attr = thread.sched_attr(); in CreateFromProtoInstruction()233 if (thread.has_sched_affinity()) { in CreateFromProtoInstruction()234 sched_affinity = thread.sched_affinity(); in CreateFromProtoInstruction()
43 for (auto& thread : threads_) { in TearDownSingle() local44 thread.join(); in TearDownSingle()
71 std::thread Instruction::SpawnThread(pthread_barrier_t* barrier, in SpawnThread()73 return std::thread([=, this] { RunSynchronized(barrier, params); }); in SpawnThread()
277 std::thread killer = std::thread([killAfter]() { in main()286 std::vector<std::thread> threads; in main()289 threads.push_back(std::thread([&]() { in main()295 [](std::thread& t) { t.join(); }); in main()
82 for thread in _THREAD_LIST:83 result = self.RunBenchmark(bits, thread)84 labels.append("%s_thread" % thread)
80 for thread in _THREAD_LIST:81 result = self.RunBenchmark(bits, thread)82 labels.append("%s_thread" % thread)
40 std::vector<std::thread> threads_;
53 std::thread SpawnThread(pthread_barrier_t* barrier, const MultithreadingParams& params);
177 std::thread(std::move(task)).detach(); in GetHidlService()199 std::thread(std::move(task)).detach(); in GetAidlService()
235 - (optional) `string name`: alias name to be assigned to the thread/process.238 CPUs the thread/process can run on.
250 ignored-classes=optparse.Values,thread._local,_thread._local