Searched refs:sampler (Results 1 - 3 of 3) sorted by relevance
/system/extras/simpleperf/runtest/ |
H A D | runtest.py | 285 self.sampler = 'cpu-cycles' 290 call_args += ['-e', '%s:u' % self.sampler] 538 def build_runner(target, use_callgraph, sampler): 547 runner.sampler = sampler 555 if runner.sampler == 'inplace-sampler': 556 # TODO: fix this when inplace-sampler actually works. 568 str += 'using %s ' % runner.sampler 586 for sampler i [all...] |
/system/extras/simpleperf/ |
H A D | InplaceSamplerClient.cpp | 31 LOG(ERROR) << "inplace-sampler can't monitor system wide events."; 34 std::unique_ptr<InplaceSamplerClient> sampler(new InplaceSamplerClient(attr, pid, tids)); 35 if (!sampler->ConnectServer()) { 38 return sampler; 84 // If the inplace sampler doesn't reply in 3 seconds, report the error. 133 // Notify inplace sampler to send buffered data and close the connection.
|
H A D | event_selection_set.cpp | 442 std::unique_ptr<InplaceSamplerClient> sampler = InplaceSamplerClient::Create( local 444 if (sampler == nullptr) { 447 selection.inplace_samplers.push_back(std::move(sampler)); 540 for (auto& sampler : selection.inplace_samplers) { 541 if (!sampler->StartPolling(*loop_, callback, 639 // Inplace sampler server uses a buffer to cache samples before sending them, so we need to 651 for (auto& sampler : sel.inplace_samplers) { 652 if (!sampler->IsClosed()) { 653 if (!sampler->StopProfiling(*loop_, close_callback)) { 858 for (auto& sampler [all...] |
Completed in 120 milliseconds