Home
last modified time | relevance | path

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

/system/core/debuggerd/
Ddebuggerd_benchmark.cpp101 std::atomic<ThreadState> thread_state(ThreadState::Starting); in BM_maximum_pause_impl() local
102 auto thread = std::thread([&]() { max_pause = GetMaximumPause(thread_state); }); in BM_maximum_pause_impl()
104 while (thread_state != ThreadState::Started) { in BM_maximum_pause_impl()
110 thread_state = ThreadState::Stopping; in BM_maximum_pause_impl()
/system/extras/ioshark/
Dioshark_bench.c59 struct thread_state_s thread_state[MAX_INPUT_FILES]; variable
159 work = &thread_state[work_next_file++]; in get_work()
194 (int)(state - thread_state), in create_files()
553 infile = thread_state[i].filename; in get_start_end()
735 thread_state[num_input_files].filename = infile; in main()
736 thread_state[num_input_files].fp = fp; in main()