Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 25 of 71) sorted by relevance

123

/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dsparse_array_test.cpp56 thrd_t threads[16]; in TEST() local
57 for (unsigned i = 0; i < ARRAY_SIZE(threads); i++) { in TEST()
58 int ret = thrd_create(&threads[i], test_thread, &arr); in TEST()
62 for (unsigned i = 0; i < ARRAY_SIZE(threads); i++) { in TEST()
63 int ret = thrd_join(threads[i], NULL); in TEST()
Du_call_once_test.cpp59 thrd_t threads[NUM_DEBUG_TEST_THREAD]; in TEST() local
61 thrd_create(&threads[i], test_call_once, NULL); in TEST()
65 thrd_join(threads[i], &ret); in TEST()
Du_debug_test.cpp57 thrd_t threads[NUM_DEBUG_TEST_THREAD]; in TEST() local
59 thrd_create(&threads[i], test_thread, NULL); in TEST()
63 thrd_join(threads[i], &ret); in TEST()
/hardware/google/gfxstream/guest/android-emu/
DAndroid.bp24 "aemu/base/threads/AndroidFunctorThread.cpp",
25 "aemu/base/threads/AndroidThreadStore.cpp",
26 "aemu/base/threads/AndroidThread_pthread.cpp",
27 "aemu/base/threads/AndroidWorkPool.cpp",
67 "aemu/base/threads/AndroidFunctorThread.cpp",
68 "aemu/base/threads/AndroidThreadStore.cpp",
69 "aemu/base/threads/AndroidThread_pthread.cpp",
70 "aemu/base/threads/AndroidWorkPool.cpp",
/hardware/google/aemu/base/
DStringParse_unittest.cpp62 std::vector<std::unique_ptr<FunctorThread>> threads; in TEST() local
64 threads.emplace_back(new FunctorThread(&testScanf)); in TEST()
66 for (auto& t : threads) { in TEST()
69 for (auto& t : threads) { in TEST()
/hardware/google/gfxstream/guest/mesa/src/util/tests/perf/
Du_trace_test.cpp23 thrd_t threads[NUM_DEBUG_TEST_THREAD]; in TEST() local
26 thrd_create(&threads[i], test_thread, NULL); in TEST()
30 thrd_join(threads[i], &ret); in TEST()
/hardware/google/pixel/power-libperfmgr/aidl/
Dandroid.hardware.power-service.pixel-libperfmgr.rc22 on property:vendor.powerhal.dalvik.vm.dex2oat-threads=*
23 setprop dalvik.vm.dex2oat-threads ${vendor.powerhal.dalvik.vm.dex2oat-threads}
24 setprop dalvik.vm.restore-dex2oat-threads ${vendor.powerhal.dalvik.vm.dex2oat-threads}
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Dmeson.build18 'threads/AndroidFunctorThread.cpp',
19 'threads/AndroidThread_pthread.cpp',
20 'threads/AndroidWorkPool.cpp',
/hardware/google/aemu/base/include/aemu/base/threads/
DThreadPool.h90 ThreadPool(int threads, Fn&& processor) : mProcessor() { in ThreadPool() argument
97 if (threads < 1) { in ThreadPool()
98 threads = android::base::getCpuCoreCount(); in ThreadPool()
100 mWorkers = std::vector<Optional<Worker>>(threads); in ThreadPool()
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleObjectPool_test.cpp96 std::vector<std::thread> threads; in TEST_F() local
99 threads.push_back(std::thread([&poolPtr] () { in TEST_F()
112 for (auto& t : threads) { in TEST_F()
/hardware/google/aemu/host-common/
DMediaVpxVideoHelper.cpp35 MediaVpxVideoHelper::MediaVpxVideoHelper(int type, int threads) in MediaVpxVideoHelper() argument
36 : mType(type), mThreadCount(threads) {} in MediaVpxVideoHelper()
64 cfg.threads = 1; in init()
67 cfg.threads = std::min(mThreadCount, 4); in init()
DMediaFfmpegVideoHelper.cpp35 MediaFfmpegVideoHelper::MediaFfmpegVideoHelper(int type, int threads) in MediaFfmpegVideoHelper() argument
36 : mType(type), mThreadCount(threads) {} in MediaFfmpegVideoHelper()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_deferred_host_operations/
Ddeferred_host_operations.adoc10 It is often desirable to offload such work onto background threads, and to
49 executed by one or more threads.
52 Applications can: join multiple threads to the same deferred operation,
150 threads.
153 This situation may: occur when other threads executing
174 2. If multiple threads have concurrently invoked
215 To query the number of additional threads that can usefully be joined to a
223 The returned value is the maximum number of threads that can usefully
227 threads.
228 Applications can: join any number of threads to the deferred operation and
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Du_queue.c343 if (thrd_success != u_thread_create(queue->threads + index, util_queue_thread_func, input)) { in util_queue_create_thread()
359 pthread_setschedparam(queue->threads[index], SCHED_BATCH, &sched_param); in util_queue_create_thread()
463 queue->threads = (thrd_t*) calloc(queue->max_threads, sizeof(thrd_t)); in util_queue_init()
464 if (!queue->threads) in util_queue_init()
485 free(queue->threads); in util_queue_init()
524 thrd_join(queue->threads[i], NULL); in util_queue_kill_threads()
554 free(queue->threads); in util_queue_destroy()
751 return util_thread_get_time_nano(queue->threads[thread_index]); in util_queue_get_thread_time_nano()
Du_queue.h211 thrd_t *threads; member
261 return queue->threads != NULL; in util_queue_is_initialized()
/hardware/google/gfxstream/guest/
DBUILD.gn206 "android-emu/aemu/base/threads/AndroidFunctorThread.cpp",
207 "android-emu/aemu/base/threads/AndroidFunctorThread.h",
208 "android-emu/aemu/base/threads/AndroidThread.h",
209 "android-emu/aemu/base/threads/AndroidThreadStore.h",
210 "android-emu/aemu/base/threads/AndroidThreadTypes.h",
211 "android-emu/aemu/base/threads/AndroidThread_pthread.cpp",
212 "android-emu/aemu/base/threads/AndroidWorkPool.cpp",
213 "android-emu/aemu/base/threads/AndroidWorkPool.h",
Dmeson.build35 thread_dep = dependency('threads')
/hardware/google/aemu/host-common/include/host-common/
DMediaFfmpegVideoHelper.h51 MediaFfmpegVideoHelper(int type, int threads);
DMediaVpxVideoHelper.h44 MediaVpxVideoHelper(int type, int threads);
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndVkTests.cpp620 std::vector<std::thread> threads; in TEST_P() local
624 threads.emplace_back([&, this](){ in TEST_P()
703 for (auto& thread : threads) { in TEST_P()
892 std::vector<std::thread> threads; in TEST_P() local
897 threads.emplace_back([&, this]() { in TEST_P()
931 for (auto& thread : threads) { in TEST_P()
947 std::vector<std::thread> threads; in TEST_P() local
952 threads.emplace_back([&, this]() { in TEST_P()
1006 for (auto& thread : threads) { in TEST_P()
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehicleObjectPoolTest.cpp355 std::vector<std::thread> threads; in TEST_F() local
357 threads.push_back(std::thread([&poolPtr]() { in TEST_F()
368 for (auto& t : threads) { in TEST_F()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp133 std::vector<std::thread> threads; in TEST_P() local
135 threads.push_back(std::thread(threadLoop)); in TEST_P()
142 for (auto& thread : threads) { in TEST_P()
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp134 std::vector<std::thread> threads; in TEST_P() local
136 threads.push_back(std::thread(threadLoop)); in TEST_P()
143 for (auto& thread : threads) { in TEST_P()
/hardware/google/gfxstream/guest/mesa/src/c11/impl/
Dmeson.build28 # no need implement c11 threads
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_display_control.adoc43 to have the userspace driver spawn threads that would wait on the kernel

123