Home
last modified time | relevance | path

Searched refs:PerfEvent (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DPerfHelper.cpp41 PerfEvent::~PerfEvent() { in ~PerfEvent()
48 PerfEvent::PerfEvent(PerfEvent &&Other) in PerfEvent() function in exegesis::pfm::PerfEvent
55 PerfEvent::PerfEvent(llvm::StringRef PfmEventString) in PerfEvent() function in exegesis::pfm::PerfEvent
80 llvm::StringRef PerfEvent::name() const { return EventString; } in name()
82 bool PerfEvent::valid() const { return !FullQualifiedEventString.empty(); } in valid()
84 const perf_event_attr *PerfEvent::attribute() const { return Attr; } in attribute()
86 llvm::StringRef PerfEvent::getPfmEventString() const { in getPfmEventString()
91 Counter::Counter(const PerfEvent &Event) { in Counter()
125 Counter::Counter(const PerfEvent &Event) {} in Counter()
DPerfHelper.h35 class PerfEvent {
39 explicit PerfEvent(llvm::StringRef pfm_event_string);
41 PerfEvent(const PerfEvent &) = delete;
42 PerfEvent(PerfEvent &&other);
43 ~PerfEvent();
68 explicit Counter(const PerfEvent &event);
89 llvm::ArrayRef<PerfEvent> Events, in Measure()
90 const std::function<void(const PerfEvent &Event, int64_t Value)> &Callback, in Measure()
DLatency.cpp119 const pfm::PerfEvent CyclesPerfEvent(CounterName); in runMeasurements()
DUops.cpp218 pfm::PerfEvent UopPerfEvent(CounterName); in runMeasurements()
/external/perf_data_converter/src/quipper/
Dhuge_page_deducer_test.cc10 using PerfEvent = PerfDataProto::PerfEvent; typedef
20 const string& file, RepeatedPtrField<PerfEvent>* events) { in AddMmap()
30 RepeatedPtrField<PerfEvent> events; in TEST()
124 RepeatedPtrField<PerfEvent>* events) { in AddHugepageTextMmap()
146 RepeatedPtrField<PerfEvent> events; in TEST_P()
162 RepeatedPtrField<PerfEvent> events; in TEST_P()
174 RepeatedPtrField<PerfEvent> events; in TEST_P()
190 RepeatedPtrField<PerfEvent> events; in TEST_P()
203 RepeatedPtrField<PerfEvent> events; in TEST_P()
217 RepeatedPtrField<PerfEvent> events; in TEST_P()
[all …]
Dhuge_page_deducer.cc9 using PerfEvent = quipper::PerfDataProto::PerfEvent; typedef
40 void SetMmapFilename(PerfEvent* event, const string& new_filename, in SetMmapFilename()
67 uint64 Len(const RepeatedPtrField<PerfEvent>& events) const { in Len()
77 const MMapEvent& FirstMmap(const RepeatedPtrField<PerfEvent>& events) const { in FirstMmap()
81 const MMapEvent& LastMmap(const RepeatedPtrField<PerfEvent>& events) const { in LastMmap()
96 bool IsContiguous(const RepeatedPtrField<PerfEvent>& events, const MMapRange& a, in IsContiguous()
102 bool IsEquivalentFile(const RepeatedPtrField<PerfEvent>& events, in IsEquivalentFile()
116 MMapRange FindRange(const RepeatedPtrField<PerfEvent>& events, int start) { in FindRange()
120 const PerfEvent& event = events.Get(i); in FindRange()
165 MMapRange FindNextRange(const RepeatedPtrField<PerfEvent>& events, in FindNextRange()
[all …]
Dperf_reader_test.cc26 using PerfEvent = PerfDataProto_PerfEvent; typedef
195 const PerfEvent& event = pr->events().Get(0); in TEST()
239 const PerfEvent& event = pr->events().Get(0); in TEST()
291 const PerfEvent& event = pr->events().Get(0); in TEST()
658 const PerfEvent& event = pr->events().Get(0); in TEST()
766 const PerfEvent& event = pr->events().Get(0); in TEST()
901 const PerfEvent& event = pr->events().Get(0); in TEST()
917 const PerfEvent& event = pr->events().Get(1); in TEST()
1023 const PerfEvent& ip_event = pr->events().Get(0); in TEST()
1027 const PerfEvent& mmap_event = pr->events().Get(1); in TEST()
[all …]
Dhuge_page_deducer.h16 void DeduceHugePages(RepeatedPtrField<PerfDataProto::PerfEvent>* events);
21 void CombineMappings(RepeatedPtrField<PerfDataProto::PerfEvent>* events);
Dperf_parser.cc128 bool PerfParser::ProcessUserEvents(PerfEvent& event) { in ProcessUserEvents()
158 PerfEvent& event = *parsed_event.event_ptr; in ProcessEvents()
405 RepeatedPtrField<PerfEvent> new_events; in UpdatePerfEventsFromParsedEvents()
408 PerfEvent* new_event = new_events.Add(); in UpdatePerfEventsFromParsedEvents()
419 const PerfEvent& event = *parsed_event->event_ptr; in MapSampleEvent()
Dperf_parser.h28 using PerfEvent = PerfDataProto_PerfEvent; variable
192 bool ProcessUserEvents(PerfEvent& event);
Dperf_serializer_test.cc41 using PerfEvent = PerfDataProto_PerfEvent; typedef
476 const PerfDataProto::PerfEvent& event = perf_data_proto.events(0); in TEST()
489 const PerfDataProto::PerfEvent& event = perf_data_proto.events(1); in TEST()
537 const PerfDataProto::PerfEvent& event = perf_data_proto.events(0); in TEST()
759 const PerfEvent& event = out_reader.events().Get(0); in TEST()
775 const PerfEvent& event = out_reader.events().Get(1); in TEST()
834 const PerfEvent& event = out_reader.events().Get(0); in TEST()
Dperf_reader.cc30 using PerfEvent = PerfDataProto_PerfEvent; typedef
180 static bool CompareEventTimes(const PerfEvent* e1, const PerfEvent* e2) { in CompareEventTimes()
348 for (const PerfEvent& event : proto_->events()) { in GenerateHeader()
413 for (const PerfEvent& event : proto_->events()) { in InjectBuildIDs()
478 for (const PerfEvent& event : proto_->events()) { in GetFilenamesAsSet()
788 PerfEvent* proto_event = proto_->add_events(); in ReadDataSection()
1307 PerfEvent* proto_event = proto_->add_events(); in ReadPipedData()
1367 PerfEvent* proto_event) { in ReadAuxtraceTraceData()
1428 for (const PerfEvent& proto_event : proto_->events()) { in WriteData()
1990 for (PerfEvent& event : *proto_->mutable_events()) { in LocalizeMMapFilenames()
Dperf_data.proto486 message PerfEvent { message
636 repeated PerfEvent events = 2;
Dperf_parser_test.cc37 using PerfEvent = PerfDataProto_PerfEvent; typedef
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/
DPerfHelperTest.cpp25 const PerfEvent SingleEvent("CYCLES:u"); in TEST()
31 [&](const PerfEvent &Event, int64_t Value) { in TEST()
/external/perf_data_converter/src/
Dperf_data_handler.cc90 void InvokeHandleSample(const quipper::PerfDataProto::PerfEvent& perf_event);
230 const quipper::PerfDataProto::PerfEvent& event_proto) { in InvokeHandleSample()