Home
last modified time | relevance | path

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

/external/perfetto/tools/busy_threads/
Dbusy_threads.cc42 void SetRandomThreadName(uint32_t thread_name_count) { in SetRandomThreadName() argument
46 static_cast<uint32_t>(rand()) % thread_name_count); in SetRandomThreadName()
66 uint32_t thread_name_count) { in BusyWait() argument
70 if (thread_name_count) in BusyWait()
71 SetRandomThreadName(thread_name_count); in BusyWait()
98 uint32_t thread_name_count = 0; in BusyThreadsMain() local
124 thread_name_count = static_cast<uint32_t>(atoi(optarg)); in BusyThreadsMain()
132 thread_name_count > (1 << 20)) { in BusyThreadsMain()
145 std::thread th(BusyWait, tstart, period_us, busy_us, thread_name_count); in BusyThreadsMain()