Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dinplace_sampler_lib.cpp63 tid_(gettid()), signo_(DEFAULT_SIGNO), sample_freq_(DEFAULT_SAMPLE_FREQ), in SampleManager()
84 uint32_t sample_freq_; member in __anonbb2ff1350111::SampleManager
143 sample_freq_ = atoi(value); in ParseStartProfilingMessage()
161 if (sample_freq_ == 0 || sample_freq_ > 1000000000) { in ParseStartProfilingMessage()
162 LOG(ERROR) << "Unexpected sample_freq: " << sample_freq_; in ParseStartProfilingMessage()
165 if (sample_freq_ == 1) { in ParseStartProfilingMessage()
168 sample_period_in_ns_ = 1000000000 / sample_freq_; in ParseStartProfilingMessage()
DInplaceSamplerClient.cpp45 sample_freq_ = attr_.sample_freq; in InplaceSamplerClient()
47 sample_freq_ = std::max(1u, static_cast<uint32_t>(1000000000 / attr_.sample_period)); in InplaceSamplerClient()
100 options += "freq=" + std::to_string(sample_freq_); in SendStartProfilingMessage()
DInplaceSamplerClient.h49 uint32_t sample_freq_; variable
Dcmd_record.cpp147 sample_freq_(0), in RecordCommand()
194 uint64_t sample_freq_; // Sample 'sample_freq_' times per second. member in RecordCommand
449 if (!android::base::ParseUint(args[i].c_str(), &sample_freq_)) { in ParseOptions()
453 if (!CheckSampleFrequency(sample_freq_)) { in ParseOptions()
587 event_selection_set_.SetSampleFreq(sample_freq_); in SetEventSelectionFlags()