Home
last modified time | relevance | path

Searched refs:kMaxThreads (Results 1 – 4 of 4) sorted by relevance

/bionic/benchmarks/
Dmalloc_rss_benchmark.cpp48 constexpr size_t kMaxThreads = 8; variable
55 void* MemPool[kMaxThreads][kMaxLen];
105 std::thread* threads[kMaxThreads]; in StressSizeClass()
157 if (numThreads > kMaxThreads) { in main()
158 std::cerr << "The max number of threads is " << kMaxThreads << std::endl; in main()
Dmalloc_benchmark.cpp79 constexpr size_t kMaxThreads = 8; in RunThreadsThroughput() local
85 std::thread* threads[kMaxThreads]; in RunThreadsThroughput()
/bionic/tests/
Dmalloc_stress_test.cpp37 constexpr size_t kMaxThreads = 256; in TEST() local
52 for (size_t i = 0; i < kMaxThreads; i++) { in TEST()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp626 static constexpr size_t kMaxThreads = sizeof(uint32_t) * 8; variable
631 for (size_t i = 0; i < kMaxThreads; i++) { in TEST()
670 std::vector<std::vector<void*>> allocs(kMaxThreads); in TEST()
673 for (size_t i = 0; i < kMaxThreads; i++) { in TEST()
681 for (size_t i = 0; i < kMaxThreads; i++) { in TEST()