Home
last modified time | relevance | path

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

/system/extras/perfprofd/
Dperfprofd_threaded_handler.h96 ThreadedHandler() : cur_config_(new ThreadedConfig()) {} in ThreadedHandler()
97 explicit ThreadedHandler(ThreadedConfig* in) : cur_config_(in) { in ThreadedHandler()
98 CHECK(cur_config_ != nullptr); in ThreadedHandler()
106 if (cur_config_->is_profiling) { in StartProfiling()
110 cur_config_->is_profiling = true; in StartProfiling()
111 cur_config_->ResetStopProfiling(); in StartProfiling()
113 fn(*cur_config_); in StartProfiling()
117 ProfilingLoop(*service->cur_config_, handler); in StartProfiling()
121 service->cur_config_->is_profiling = false; in StartProfiling()
131 if (!cur_config_->is_profiling) { in StopProfiling()
[all …]