/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/ |
D | PerfHelper.cpp | 41 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()
|
D | PerfHelper.h | 35 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()
|
D | Latency.cpp | 119 const pfm::PerfEvent CyclesPerfEvent(CounterName); in runMeasurements()
|
D | Uops.cpp | 218 pfm::PerfEvent UopPerfEvent(CounterName); in runMeasurements()
|
/external/perf_data_converter/src/quipper/ |
D | huge_page_deducer_test.cc | 10 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 …]
|
D | huge_page_deducer.cc | 9 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 …]
|
D | perf_reader_test.cc | 26 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 …]
|
D | huge_page_deducer.h | 16 void DeduceHugePages(RepeatedPtrField<PerfDataProto::PerfEvent>* events); 21 void CombineMappings(RepeatedPtrField<PerfDataProto::PerfEvent>* events);
|
D | perf_parser.cc | 128 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()
|
D | perf_parser.h | 28 using PerfEvent = PerfDataProto_PerfEvent; variable 192 bool ProcessUserEvents(PerfEvent& event);
|
D | perf_serializer_test.cc | 41 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()
|
D | perf_reader.cc | 30 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()
|
D | perf_data.proto | 486 message PerfEvent { message 636 repeated PerfEvent events = 2;
|
D | perf_parser_test.cc | 37 using PerfEvent = PerfDataProto_PerfEvent; typedef
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/ |
D | PerfHelperTest.cpp | 25 const PerfEvent SingleEvent("CYCLES:u"); in TEST() 31 [&](const PerfEvent &Event, int64_t Value) { in TEST()
|
/external/perf_data_converter/src/ |
D | perf_data_handler.cc | 90 void InvokeHandleSample(const quipper::PerfDataProto::PerfEvent& perf_event); 230 const quipper::PerfDataProto::PerfEvent& event_proto) { in InvokeHandleSample()
|