Home
last modified time | relevance | path

Searched refs:thread_count (Results 1 – 2 of 2) sorted by relevance

/system/utest/register-state/
A Dregister-state-test.cpp65 uint32_t thread_count = zx_system_get_num_cpus() * 2; in TestContextSwitchOfGsBase() local
66 ASSERT_GT(thread_count, 0); in TestContextSwitchOfGsBase()
68 pthread_t tids[thread_count]; in TestContextSwitchOfGsBase()
69 ASSERT_EQ(pthread_barrier_init(&g_barrier, nullptr, thread_count), 0); in TestContextSwitchOfGsBase()
70 for (uint32_t i = 0; i < thread_count; ++i) { in TestContextSwitchOfGsBase()
76 for (uint32_t i = 0; i < thread_count; ++i) { in TestContextSwitchOfGsBase()
/system/utest/core/elf-tls/
A Dtls.cpp157 constexpr uintptr_t thread_count = 64u; in ExecutableTlsTest() local
158 thrd_t threads[thread_count]; in ExecutableTlsTest()
159 for (uintptr_t idx = 0u; idx < thread_count; ++idx) { in ExecutableTlsTest()
164 for (uintptr_t idx = 0u; idx < thread_count; ++idx) { in ExecutableTlsTest()

Completed in 4 milliseconds