Searched refs:sample_freq (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | event_selection_set.h | 59 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()
|
D | event_fd.cpp | 58 if (GetMaxSampleFrequency(&max_sample_freq) && max_sample_freq < attr.sample_freq) { in OpenEventFile() 64 real_attr.sample_freq = max_sample_freq; in OpenEventFile()
|
D | event_selection_set.cpp | 215 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()
|
D | environment.h | 80 bool SetPerfEventLimits(uint64_t sample_freq, size_t cpu_percent, uint64_t mlock_kb);
|
D | event_attr.cpp | 110 PrintIndented(indent + 1, "sample_freq %llu\n", attr.sample_freq); in DumpPerfEventAttr()
|
D | environment.cpp | 325 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()
|
D | cmd_record_test.cpp | 96 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()
|
D | cmd_stat_test.cpp | 235 ASSERT_EQ(attr.attr->sample_freq, 0u); in TEST()
|