Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set.h62 uint64_t sample_freq; member
64 SampleSpeed(uint64_t freq = 0, uint64_t period = 0) : sample_freq(freq), sample_period(period) {} in sample_freq() function
67 CHECK_NE(sample_freq != 0u, sample_period != 0u); in UseFreq()
68 return sample_freq != 0u; in UseFreq()
Devent_fd.cpp58 if (GetMaxSampleFrequency(&max_sample_freq) && max_sample_freq < attr.sample_freq) { in OpenEventFile()
64 real_attr.sample_freq = max_sample_freq; in OpenEventFile()
Denvironment.h77 bool SetPerfEventLimits(uint64_t sample_freq, size_t cpu_percent, uint64_t mlock_kb);
Devent_selection_set.cpp172 selection->event_attr.sample_freq = 1; in BuildAndCheckEventSelection()
191 selection->event_attr.sample_freq = DEFAULT_SAMPLE_FREQ_FOR_NONTRACEPOINT_EVENT; in BuildAndCheckEventSelection()
355 selection.event_attr.sample_freq = speed.sample_freq; in SetSampleSpeed()
Dcmd_record_test.cpp72 uint64_t sample_period, uint64_t sample_freq) { in CheckEventType() argument
82 ASSERT_EQ(sample_freq, 0u); in CheckEventType()
85 ASSERT_EQ(sample_freq, attr.attr->sample_freq); in CheckEventType()
DInplaceSamplerClient.cpp45 sample_freq_ = attr_.sample_freq; in InplaceSamplerClient()
Devent_attr.cpp108 PrintIndented(indent + 1, "sample_freq %llu\n", attr.sample_freq); in DumpPerfEventAttr()
Denvironment.cpp401 bool SetPerfEventLimits(uint64_t sample_freq, size_t cpu_percent, uint64_t mlock_kb) { in SetPerfEventLimits() argument
402 if (!SetProperty("debug.perf_event_max_sample_rate", sample_freq) || in SetPerfEventLimits()
415 if (!GetMaxSampleFrequency(&freq) || freq == sample_freq) { in SetPerfEventLimits()
Dcmd_stat_test.cpp219 ASSERT_EQ(attr.attr->sample_freq, 0u); in TEST()