Searched refs:feature (Results 1 – 6 of 6) sorted by relevance
/developtools/hiperf/src/ |
D | perf_file_writer.cpp | 400 bool PerfFileWriter::AddNrCpusFeature(FEATURE feature, uint32_t nrCpusAvailable, in AddNrCpusFeature() argument 406 std::make_unique<PerfFileSectionNrCpus>(feature, nrCpusAvailable, nrCpusOnline)); in AddNrCpusFeature() 414 bool PerfFileWriter::AddEventDescFeature(FEATURE feature, in AddEventDescFeature() argument 419 featureSections_.emplace_back(std::make_unique<PerfFileSectionEventDesc>(feature, eventDesces)); in AddEventDescFeature() 426 bool PerfFileWriter::AddStringFeature(FEATURE feature, std::string string) in AddStringFeature() argument 428 HLOGV("add feature '%s' string '%s'", PerfFileSection::GetFeatureName(feature).c_str(), in AddStringFeature() 430 featureSections_.emplace_back(std::make_unique<PerfFileSectionString>(feature, string)); in AddStringFeature() 433 header_.features[(int)feature / BITS_IN_BYTE] |= 1 << ((int)feature % BITS_IN_BYTE); // bit in AddStringFeature() 437 bool PerfFileWriter::AddBoolFeature(FEATURE feature) in AddBoolFeature() argument 440 return AddU64Feature(feature, 1u); in AddBoolFeature() [all …]
|
D | perf_file_reader.cpp | 367 const std::string PerfFileReader::GetFeatureString(const FEATURE feature) const in GetFeatureString() 369 std::string featureName = PerfFileSection::GetFeatureName(feature); in GetFeatureString() 371 if (!IsFeatrureStringSection(feature)) { in GetFeatureString() 374 const PerfFileSection *featureSection = GetFeatureSection(feature); in GetFeatureString() 386 const PerfFileSection *PerfFileReader::GetFeatureSection(FEATURE feature) const in GetFeatureSection() 391 if (it->featureId_ == feature) { in GetFeatureSection() 403 for (FEATURE feature : features_) { in ReadFeatureSection() local 412 HLOGV("process feature %d:%s", feature, PerfFileSection::GetFeatureName(feature).c_str()); in ReadFeatureSection() 427 if (IsFeatrureStringSection(feature)) { in ReadFeatureSection() 429 std::make_unique<PerfFileSectionString>(feature, (char *)&buf[0], buf.size())); in ReadFeatureSection() [all …]
|
D | subcommand_dump.cpp | 238 for (auto feature : features) { in DumpPrintFileHeader() local 239 PrintIndent(indent, "feature: %s\n", PerfFileSection::GetFeatureName(feature).c_str()); in DumpPrintFileHeader() 479 for (auto feature : features) { in DumpFeaturePortion() local 480 PrintIndent(LEVEL1, "feature %d:%s\n", feature, in DumpFeaturePortion() 481 PerfFileSection::GetFeatureName(feature).c_str()); in DumpFeaturePortion()
|
/developtools/hiperf/include/ |
D | perf_file_writer.h | 49 bool AddNrCpusFeature(FEATURE feature, uint32_t nrCpusAvailable, uint32_t nrCpusOnline); 50 bool AddEventDescFeature(FEATURE feature, const std::vector<AttrWithId> &eventDesces); 51 bool AddStringFeature(FEATURE feature, std::string string); 52 bool AddU64Feature(FEATURE feature, uint64_t v); 53 bool AddBoolFeature(FEATURE feature);
|
D | perf_file_reader.h | 49 const PerfFileSection *GetFeatureSection(FEATURE feature) const; 52 const std::string GetFeatureString(const FEATURE feature) const;
|
/developtools/profiler/trace_analyzer/ |
D | changelog.txt | 14 no feature changed, just fix coding style
|