Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 6 of 6) sorted by relevance

/system/utest/debugger/
A Dutils.cpp246 inferior_data_t* attach_inferior(zx_handle_t inferior, zx_handle_t eport, size_t max_threads) { in attach_inferior() argument
251 zx_koid_t* thread_koids = static_cast<zx_koid_t*>(tu_malloc(max_threads * sizeof(zx_koid_t))); in attach_inferior()
252 size_t num_threads = tu_process_get_threads(inferior, thread_koids, max_threads); in attach_inferior()
254 if (num_threads > max_threads) in attach_inferior()
261 data->threads = static_cast<thread_data_t*>(tu_calloc(max_threads, sizeof(data->threads[0]))); in attach_inferior()
264 data->max_num_threads = max_threads; in attach_inferior()
A Dutils.h81 size_t max_threads);
A Ddebugger.cpp347 size_t max_threads = 10; in DebuggerTest() local
348 inferior_data_t* inferior_data = attach_inferior(inferior, eport, max_threads); in DebuggerTest()
394 size_t max_threads = 10; in DebuggerThreadListTest() local
395 inferior_data_t* inferior_data = attach_inferior(inferior, eport, max_threads); in DebuggerThreadListTest()
1008 size_t max_threads = 10; in SuspendedInExceptionRegAccessTest() local
1009 inferior_data_t* inferior_data = attach_inferior(inferior, eport, max_threads); in SuspendedInExceptionRegAccessTest()
/system/ulib/test-utils/include/test-utils/
A Dtest-utils.h129 size_t tu_process_get_threads(zx_handle_t process, zx_koid_t* threads, size_t max_threads);
/system/ulib/test-utils/
A Dtest-utils.c282 size_t tu_process_get_threads(zx_handle_t process, zx_koid_t* threads, size_t max_threads) in tu_process_get_threads() argument
285 size_t buf_size = max_threads * sizeof(threads[0]); in tu_process_get_threads()
/system/utest/async-loop/
A Dloop_tests.cpp1029 uint32_t max_threads() const { return max_threads_.load(std::memory_order_acquire); } in max_threads() function in __anon7baa41b40111::ConcurrencyMeasure
1229 EXPECT_NE(1u, measure.max_threads(), "waits handled concurrently"); in threads_waits_run_concurrently_test()
1270 EXPECT_EQ(1u, measure.max_threads(), "tasks handled sequentially"); in threads_tasks_run_sequentially_test()
1305 EXPECT_NE(1u, measure.max_threads(), "packets handled concurrently"); in threads_receivers_run_concurrently_test()
1366 EXPECT_NE(1u, measure.max_threads()); in threads_exceptions_run_concurrently_test()

Completed in 46 milliseconds