Home
last modified time | relevance | path

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

/system/extras/memory_replay/
Dmain.cpp69 void ProcessDump(int fd, size_t max_allocs, size_t max_threads) { in ProcessDump() argument
72 Threads threads(&pointers, max_threads); in ProcessDump()
74 printf("Maximum threads available: %zu\n", threads.max_threads()); in ProcessDump()
169 size_t max_threads = DEFAULT_MAX_THREADS; in main() local
171 max_threads = atoi(argv[2]); in main()
186 ProcessDump(dump_fd, max_allocs, max_threads); in main()
DThreads.h28 Threads(Pointers* pointers, size_t max_threads);
38 size_t max_threads() { return max_threads_; } in max_threads() function
DThreads.cpp48 Threads::Threads(Pointers* pointers, size_t max_threads) in Threads() argument
49 : pointers_(pointers), max_threads_(max_threads) { in Threads()
/system/update_engine/payload_generator/
Dfull_update_generator.cc142 size_t max_threads = std::max(sysconf(_SC_NPROCESSORS_ONLN), 4L); in GenerateOperations() local
146 << " bytes each) using " << max_threads << " threads"; in GenerateOperations()
187 max_threads); in GenerateOperations()
/system/extras/memory_replay/tests/
DThreadsTest.cpp116 for (size_t i = 0; i <= threads.max_threads(); i++) { in TestTooManyThreads()