Home
last modified time | relevance | path

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

/system/extras/memory_replay/
DThreads.cpp50 : pointers_(pointers), max_threads_(max_threads) { in Threads()
52 data_size_ = (max_threads_ * sizeof(Thread) + pagesize - 1) & ~(pagesize - 1); in Threads()
53 max_threads_ = data_size_ / sizeof(Thread); in Threads()
58 data_size_, max_threads_); in Threads()
61 threads_ = new (memory) Thread[max_threads_]; in Threads()
73 if (num_threads_ == max_threads_) { in CreateThread()
79 max_threads_, num_threads_); in CreateThread()
102 if (++index == max_threads_) { in FindThread()
120 return tid % max_threads_; in GetHashEntry()
125 for (size_t entries = 0; entries < max_threads_; entries++) { in FindEmptyEntry()
[all …]
DThreads.h38 size_t max_threads() { return max_threads_; } in max_threads()
45 size_t max_threads_ = 0; variable