Home
last modified time | relevance | path

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

/external/perfetto/src/profiling/perf/
Devent_reader.h72 class EventReader {
75 template <typename EventReader, bool>
78 static base::Optional<EventReader> ConfigureEvents(
92 ~EventReader() = default;
95 EventReader(const EventReader&) = delete;
96 EventReader& operator=(const EventReader) = delete;
97 EventReader(EventReader&&) noexcept;
98 EventReader& operator=(EventReader&&) noexcept;
101 EventReader(uint32_t cpu,
Devent_reader.cc188 EventReader::EventReader(uint32_t cpu, in EventReader() function in perfetto::profiling::EventReader
197 EventReader::EventReader(EventReader&& other) noexcept in EventReader() function in perfetto::profiling::EventReader
203 EventReader& EventReader::operator=(EventReader&& other) noexcept { in operator =()
207 this->~EventReader(); in operator =()
208 new (this) EventReader(std::move(other)); in operator =()
212 base::Optional<EventReader> EventReader::ConfigureEvents( in ConfigureEvents()
227 return base::make_optional<EventReader>(cpu, *event_cfg.perf_attr(), in ConfigureEvents()
232 base::Optional<ParsedSample> EventReader::ReadUntilSample( in ReadUntilSample()
280 ParsedSample EventReader::ParseSampleRecord(uint32_t cpu, in ParseSampleRecord()
343 void EventReader::PauseEvents() { in PauseEvents()
Dperf_producer.h124 std::vector<EventReader> _per_cpu_readers) in DataSourceState()
133 std::vector<EventReader> per_cpu_readers;
163 bool ReadAndParsePerCpuBuffer(EventReader* reader,
Dperf_producer.cc209 std::vector<EventReader> per_cpu_readers; in StartDataSource()
211 base::Optional<EventReader> event_reader = in StartDataSource()
212 EventReader::ConfigureEvents(cpu, event_config.value()); in StartDataSource()
354 for (EventReader& reader : ds.per_cpu_readers) { in TickDataSourceRead()
379 bool PerfProducer::ReadAndParsePerCpuBuffer(EventReader* reader, in ReadAndParsePerCpuBuffer()