Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dmalloc_rss_benchmark.cpp100 void StressSizeClass(size_t numThreads, size_t allocSize) { in StressSizeClass() argument
106 for (size_t i = 0; i < numThreads; ++i) threads[i] = new std::thread(ThreadTask, i, allocSize); in StressSizeClass()
108 for (size_t i = 0; i < numThreads; ++i) { in StressSizeClass()
138 for (size_t i = 0; i < numThreads; ++i) { in StressSizeClass()
149 size_t numThreads = atoi(argv[1]); in main() local
152 if (numThreads == 0 || allocSize == 0) { in main()
157 if (numThreads > kMaxThreads) { in main()
162 StressSizeClass(numThreads, allocSize); in main()