Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set.h59 uint64_t sample_freq; member
61 SampleSpeed(uint64_t freq = 0, uint64_t period = 0) : sample_freq(freq), sample_period(period) {} in sample_freq() function
64 CHECK_NE(sample_freq != 0u, sample_period != 0u); in UseFreq()
65 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()
Devent_selection_set.cpp215 selection->event_attr.sample_freq = 1; in BuildAndCheckEventSelection()
235 selection->event_attr.sample_freq = DEFAULT_SAMPLE_FREQ_FOR_NONTRACEPOINT_EVENT; in BuildAndCheckEventSelection()
405 selection.event_attr.sample_freq = speed.sample_freq; in SetSampleSpeed()
Denvironment.h80 bool SetPerfEventLimits(uint64_t sample_freq, size_t cpu_percent, uint64_t mlock_kb);
Devent_attr.cpp110 PrintIndented(indent + 1, "sample_freq %llu\n", attr.sample_freq); in DumpPerfEventAttr()
Denvironment.cpp325 bool SetPerfEventLimits(uint64_t sample_freq, size_t cpu_percent, uint64_t mlock_kb) { in SetPerfEventLimits() argument
326 if (!SetProperty("debug.perf_event_max_sample_rate", sample_freq) || in SetPerfEventLimits()
339 if (!GetMaxSampleFrequency(&freq) || freq == sample_freq) { in SetPerfEventLimits()
Dcmd_record_test.cpp96 uint64_t sample_period, uint64_t sample_freq) { in CheckEventType() argument
106 ASSERT_EQ(sample_freq, 0u); in CheckEventType()
109 ASSERT_EQ(sample_freq, attr.attr->sample_freq); in CheckEventType()
Dcmd_stat_test.cpp235 ASSERT_EQ(attr.attr->sample_freq, 0u); in TEST()